I deleted and installed again python.
So this is what I did this time:

1-download *numpy-1.16.6+vanilla-cp27-cp27m-win_amd64.whl*
2-opened cmd, and when to my download path and* run pip install 
numpy-1.16.6+vanilla-cp27-cp27m-win_amd64.whl*
3-it said instalation successfull (except some pandas and matplotlib errors)
4-i checked C:\Python27\Lib\site-packages and I saw that numpy was there, 
so I guess installation went fine

and then in maya I do this:

import sys
sys.path.append(r"C:\Python27\Lib\site-packages")
import numpy

and I get this error

# IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
# 
# Importing the multiarray numpy extension module failed.  Most
# likely you are trying to import a failed build of numpy.
# Here is how to proceed:
# - If you're working with a numpy git repository, try `git clean -xdf`
#   (removes all files not under version control) and rebuild numpy.
# - If you are simply trying to use the numpy version that you have 
installed:
#   your installation is broken - please reinstall numpy.
# - If you have already reinstalled and that did not fix the problem, then:
#   1. Check that you are using the Python you expect (you're using 
C:\Program Files\Autodesk\Maya2018\bin\maya.exe),
#      and that you have no directories in your PATH or PYTHONPATH that can
#      interfere with the Python and numpy versions you're trying to use.
#   2. If (1) looks fine, you can open a new issue at
#      https://github.com/numpy/numpy/issues.  Please include details on:
#      - how you installed Python
#      - how you installed numpy
#      - your operating system
#      - whether or not you have multiple versions of Python installed
#      - if you built from source, your compiler versions and ideally a 
build log
# 
#      Note: this error has many possible causes, so please don't comment on
#      an existing issue about this - open a new one instead.
# 
# Original error was: DLL load failed: The specified module could not be 
found. # 


and then, if i do again  import numpy, I get this error

Introducir código aquí...# Error: cannot import name _distributor_init
# Traceback (most recent call last):
#   File "<maya console>", line 1, in <module>
#   File "C:\Python27\Lib\site-packages\numpy\__init__.py", line 140, in 
<module>
#     from . import _distributor_init
# ImportError: cannot import name _distributor_init # 

So I am completly lost.

Is it possible that it is I am running maya 2018.6 instead of 2018?

-- 
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/b72eb350-b758-4369-98af-aa1fc720e3abo%40googlegroups.com.

Reply via email to