never mind, I tried to delete numpy folder to start clean, and I can't pip install anymore. Error: could not install packages due to an EnvironmentError: ... I give up for today
El domingo, 14 de junio de 2020, 15:00:59 (UTC-7), Rudi Hammad escribió: > > Hi, > I am on maya 2018 and windos 10 x64. I have looking in the forum how to > install numpy and I did the following: > To check which numpy version I need I went to > https://www.lfd.uci.edu/~gohlke/pythonlibs/ > Then did pip install numpy‑1.16.6+mkl‑cp27‑cp27m‑win32.whl ( I beleive > that this is the one even for winx64 but I am not sue ) > Then in maya: > import sys > sys.path.append("C:\Python27\Lib\site-packages") > import numpy > > > And I get the error: > > # Error: Error importing numpy: you should not try to import numpy from > # its source directory; please exit the numpy source tree, and > relaunch > # your python interpreter from there. > # Traceback (most recent call last): > # File "<maya console>", line 4, in <module> > # File "C:\Program > Files\Autodesk\Maya2018\Python\lib\site-packages\numpy\__init__.py", line > 131, in <module> > # raise ImportError(msg) > # ImportError: Error importing numpy: you should not try to import numpy > from > # its source directory; please exit the numpy source tree, and > relaunch > # your python interpreter from there. # > > After googling the error none of the solutions I read work for me. > Any advice? > > thanks > -- 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/68d3547f-6651-43a5-afcd-17a7044c6b00o%40googlegroups.com.