You can't use compiled extension libraries from standard python27 with 
Maya's internal python interpreter.
You'll need to recompile the extension with Visual Studio 2012, because 
standard python27 is compiled against vs2008.


On Tuesday, February 16, 2016 at 10:10:58 PM UTC-6, Ruchit Bhatt wrote:
>
> Hi, Need help to install PyGame module for Maya 2016 x64.
>
> I downloaded 64bit PyGame Lib from Christoph Gohlke PY LIB 
> <http://www.lfd.uci.edu/~gohlke/pythonlibs/>
> site and i installed successfully in "C:\Python27" using "pip install 
> *.whl" command.
> After that i copied PyGame folder from "C:\Python27\Lib\site-packages" & 
> paste in "C:\Program Files\Autodesk\Maya2016\Python\Lib\site-packages".
>
> And then run import pygame in Maya script editor & got below error....
> # Error: ImportError: file C:\Program 
> Files\Autodesk\Maya2016\Python\lib\site-packages\pygame\__init__.py line 
> 142: DLL load failed: The specified module could not be found. # 
>
>
> it works fine in python shell, only problem is inside Maya.
>

-- 
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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/9b8f059a-a57d-4c60-a18c-245dc7eacb8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to