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 I am doing wrong.Actually, I 
don't really understand what pyHook and numexpr are supposed to be doing, 
so there must be some bit of information that I didn't quite get.
So I'll just write my math libraries using python's default for now and 
maybe refactor in the future if I manage to make it work. 

El domingo, 14 de junio de 2020, 23:54:44 (UTC-7), Marcus Ottosson escribió:
>
> 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 yourself using `mayapy` in place of 
> `python`.
> - Second, if you *were* going to use the official Python version (which 
> probably won't work), make sure it's 64-bit like Deke said. It must match 
> your Maya version. My guess is that's where your DLL error comes from. But 
> again, official Python != Maya's Python.
>
> The reason PyCharm works is because PyCharm == official Python, so 
> everything is well. Anytime you're dealing with compiled modules, like 
> NumPy, and want to use them in Maya, you'll need them compiled for Maya's 
> Python.
>
> On Mon, 15 Jun 2020 at 03:09, Rudi Hammad <rudih...@gmail.com 
> <javascript:>> wrote:
>
>> 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 from this group and stop receiving emails from it, send an 
>> email to python_inside_maya+unsubscr...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/python_inside_maya/b39fa53a-ff3a-4c6f-986b-4d21b5f544d2o%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/python_inside_maya/b39fa53a-ff3a-4c6f-986b-4d21b5f544d2o%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/9ad4f036-8455-4e0d-9fc1-fcb13f0e635fo%40googlegroups.com.

Reply via email to