Thanks for the confirmation Justin.   I looked more into those extra 
libraries.   Numpy seems to be the only critical one, the others seem to be 
for added features if you want to use them.

Anyway, today I did end up finding a precompiled version of numpy and scipy 
for Maya 2018 that also works for 2019.  I have visual studio 2017 
installed.  It looks like maybe you can compile to older build targets, is 
that correct?  So I could build them in VS 2017 for VS 2015, a version that 
will work with Maya 2019?

cheers



On Wednesday, February 5, 2020 at 5:29:29 PM UTC-8, Justin Israel wrote:
>
>
>
> On Thu, Feb 6, 2020, 10:47 AM Nic Sievers <[email protected] <javascript:>> 
> wrote:
>
>> Hi, 
>>
>> How would you be able to use a library such as Trimesh in Maya 2019, 
>> perhaps 2020?   Seems to be a pure python library.  
>>
>> https://github.com/mikedh/trimesh
>>
>> I did install trimesh via pip and added  PYTHONPATH = 
>> C:\python_27_amd64\files\Lib\site-packages.   But there is a runtime error 
>> (attached pic) importing in Maya which based on output is numpy related.  
>>  I did try reinstalling numpy but perhaps numpy has to be compiled in the 
>> same visual studio as Maya?  
>>
>> I did see some mentions on this forum of using mayapy.exe pip.   Would 
>> that install a correct version of numpy?
>>
>
> Even if trimesh is pure python, it lists alot of compiled requirements 
> https://github.com/mikedh/trimesh/blob/master/setup.py#L30
>
> So that means the deps also need to be compiled for that specific Maya 
>
>
>>
>> thanks,
>> Nic
>>
>> -- 
>>
>>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/63ab9651-85c7-4977-9106-1857abf6d7ca%40googlegroups.com.

Reply via email to