External Modules

Hi, I want to use numpy from standalone version of Python. I use ‘sys.path.remove()’ to remove the packpages path in touchdesigner, and I already added the search path by modifying the Preference labelled “Python 32/64 bit Module Path”. When I import the numpy, td will flashback.
Another situation is after when I removed packpages path in touchdesigner then import numpy, the numpy packpage’ s path is still the original.
What is the problem? Thanks!

What do you mean TD will flashback?

I want to use numpy+mkl module in TD. I install a numpy+mkl module in a virtual env and use the path to that virtual env as custom modules path in TD. When I import numpy or other modules, TD will be exit.

I think I’m seeing the same issue. I have numpy+mkl installed in a virtual env whose site-packages path I’ve ensured appears first in sys.path. Then when I import numpy, TouchDesigner exits. This is with 2019.17550.