Re: [Maya-Python] Re: Error importing numpy: you should not try to import numpy...

2020-06-15 Thread Rudi Hammad
yes, that's the pip install that worked. same with scipy El lunes, 15 de junio de 2020, 11:55:36 (UTC-7), Marcus Ottosson escribió: > > I'm glad it works, but that's not what I meant. xD > > I had a closer look at the link, and assume you're referring to that last > post? > > ```py > pip instal

Re: [Maya-Python] Re: Error importing numpy: you should not try to import numpy...

2020-06-15 Thread Marcus Ottosson
I'm glad it works, but that's not what I meant. xD I had a closer look at the link, and assume you're referring to that last post? ```py pip install -i https://pypi.anaconda.org/carlkl/simple numpy ``` That still isn't the right way to do it, as it would fetch a build of NumPy built for the offi

Re: [Maya-Python] Re: Error importing numpy: you should not try to import numpy...

2020-06-15 Thread Rudi Hammad
yes! it works! thanks marcus, I just pip installed what was said in that link and it just work. awesome, you saved me a lot of frustration. El lunes, 15 de junio de 2020, 10:10:36 (UTC-7), Rudi Hammad escribió: > > Numexpr uses numpy at somepoint, but you' re right, they don't anything > regardi

Re: [Maya-Python] Re: Error importing numpy: you should not try to import numpy...

2020-06-15 Thread Rudi Hammad
Numexpr uses numpy at somepoint, but you' re right, they don't anything regarding numpy. I didn't saw that link, I am going to give a try, thx. El lunes, 15 de junio de 2020, 1:31:36 (UTC-7), Marcus Ottosson escribió: > > From what I gather, numexpr and pyhook are other Python libraries? > > - ht

Re: [Maya-Python] Re: Error importing numpy: you should not try to import numpy...

2020-06-15 Thread Marcus Ottosson
>From what I gather, numexpr and pyhook are other Python libraries? - https://github.com/pydata/numexpr - https://pypi.org/project/pyHook/ They won't help you get NumPy installed if that's what you're thinking. I think the reference you found was maybe this? - https://forums.autodesk.com/t5/maya

Re: [Maya-Python] Re: Error importing numpy: you should not try to import numpy...

2020-06-15 Thread Rudi Hammad
I see, thanks for the explanation. The error is coming having installed the 64 bits vanilla version that deke suggested, I found this link and it seems to work for people who tried it: https://drive.google.com/drive/folders/0BwsYd1k8t0lEMjBCa2N1Z25KZXc but I didn't it didn't for me. Not sure what

Re: [Maya-Python] Re: Error importing numpy: you should not try to import numpy...

2020-06-14 Thread Marcus Ottosson
There are at least two problems. - First, remember that the official Python != Maya's Python. The version of NumPy you've got is built for the official Python, and you need one for Maya's Python. How can you get that? The interwebs could lead you to a copy someone has built, or you can build it yo

Re: [Maya-Python] Re: Error importing numpy: you should not try to import numpy...

2020-06-14 Thread Rudi Hammad
By the way, everything is fine in pycharm if I set the interpreter as C:\Python27\python.exe So numpy is not boken. It is mayapy that is not happy with numpy -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe

Re: [Maya-Python] Re: Error importing numpy: you should not try to import numpy...

2020-06-14 Thread Rudi Hammad
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 an

Re: [Maya-Python] Re: Error importing numpy: you should not try to import numpy...

2020-06-14 Thread Deke Kincaid
You installed the 32 bit version in your first email which is why it was erroring in the first place. This is signified by the “-win32” at the end of the name. How did you uninstall it? I’m suspecting there is some left over part from the previous install? I would use the vanilla amd64 version

[Maya-Python] Re: Error importing numpy: you should not try to import numpy...

2020-06-14 Thread Rudi Hammad
one last thing. downloaded manually the numpy and scipy for the link and when to the folder and did pip install. I did install but not I get the error: # Original error was: DLL load failed: %1 is not a valid Win32 application. # So I thought that maybe it had to download numpy-1.16.6+mkl-cp27-

[Maya-Python] Re: Error importing numpy: you should not try to import numpy...

2020-06-14 Thread Rudi Hammad
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