You don’t have to build Python, you can use mayapy to build win32py. Just
replace any call to python with mayapy.

For example..

$ cd win32py_source
$ mayapy configure.py
$ make
$ make install

​

On 5 October 2017 at 11:06, illunara <[email protected]> wrote:

> Hi everybody
> I tried to use pip to install win32py for maya 2017, and the result is
>
> *ImportError: DLL load failed: The specified module could not be found.*
>>
>
> For 2 days, i've looked into it, and i found out, pyd library has been
> compiled with difference compiler than mayapy did. That's why, mayapy can't
> load these modules
>
> So basically:
>
>>
>>
>>
>>
>> *Maya 2017Windows 64bit Win7x64Visual Studio 2012 Update 4 + Win 8
>> SDK.Net framework 4.5.1Embedded Python 2.7.11 - Internal to Maya*
>
>
> I need to build python with using same settings above, and then recompile
> all the modules i need, right?
> Thanks
>
> P/s : https://tech-artists.org/t/mayapy-dll-missing-when-
> loading-module/9202
> Here is a topic i have posted on tech-artist, asked them about the
> problems when i cannot load the module with mayapy
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/python_inside_maya/2e3d8ea6-3f6b-4843-956e-
> 0a44da86df91%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/2e3d8ea6-3f6b-4843-956e-0a44da86df91%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBV9vCBDHEWnN0%3DcbO9W20aZbS45jcDf1FnVrqPN3OFhg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to