I am now using a userSetup.py to set python paths.

The modules are being found, but I am running into trouble loading them.

Specifically numpy. 

As far as I know Maya  2015 uses Python 2.7. I downloaded the latest numpy 
for python 2.7. It installes (by default) in my 
C:\Python27\Lib\site-packages\numpy directory.

I dont get any errors launching maya with my new usersetup.py but when I 
try the import :

import numpy as np

i get this error

// Error: DLL load failed: The specified module could not be found.

# Traceback (most recent call last):

# File "<maya console>", line 1, in <module>

# File "C:\Python27\Lib\site-packages\numpy\__init__.py", line 168, in 
<module>

# from . import add_newdocs

# File "C:\Python27\Lib\site-packages\numpy\add_newdocs.py", line 13, in 
<module>

# from numpy.lib import add_newdoc

# File "C:\Python27\Lib\site-packages\numpy\lib\__init__.py", line 8, in 
<module>

# from .type_check import *

# File "C:\Python27\Lib\site-packages\numpy\lib\type_check.py", line 11, in 
<module>

# import numpy.core.numeric as _nx

# File "C:\Python27\Lib\site-packages\numpy\core\__init__.py", line 6, in 
<module>

# from . import multiarray

# ImportError: DLL load failed: The specified module could not be found. //


I confirmed that 'C:\\Python27\\Lib\\site-packages' is indeed in my 
sys.path using 'print sys.path'

-- 
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/864ed0c2-2d91-42a5-8ae7-b8c058abe09c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to