On Thu, Feb 6, 2020, 10:47 AM Nic Sievers <siev...@gmail.com> 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 python_inside_maya+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/b2755c56-253a-4d21-8076-30bc4ca5114c%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/b2755c56-253a-4d21-8076-30bc4ca5114c%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/CAPGFgA0Buq3jvBNGz0kwijNQcjZhHN987DP6vq_3BO57y3PVoQ%40mail.gmail.com.

Reply via email to