How to use TouchDesigner Python's external module

TouchDesigner allows you to use third-party Python libraries by loading modules in the following ways:

Install 64-bit built Python

https://www.python.org/downloads/windows/

Windows x86 xxxxxxxx (32bit) Not Windows x86-64 xxxxxxxx (64bit) Select and install

Install the required packages using the pip command

As an example, let's install a numerical calculation module called NumPy.

pip install NumPy

Installation is complete bandicam 2017-03-03 22-30-39-656.jpg

Open TouchDesigner and click ** Preferences ** in the ** Edit ** menu

bandicam 2017-03-04 16-31-50-719.jpg

Add the 64-bit Python ** site-packages ** folder to the ** Python 64-bit Module Path ** in the ** General ** tab.

bandicam 2017-03-04 16-32-54-591.jpg

This folder is in the ** Lib ** folder of the folder where Python is installed

bandicam 2017-03-04 16-33-27-966.jpg

Create a Text DAT and use the regular import command to test if the module can be used

bandicam 2017-03-04 16-34-26-903.jpg

bandicam 2017-03-04 16-35-30-106.jpg

reference

https://nvoid.gitbooks.io/introduction-to-touchdesigner/content/Python/9-6-External-Modules.html

Recommended Posts

How to use TouchDesigner Python's external module
How to use Python's logging module
How to use the optparse module
How to use the ConfigParser module
How to use Python's Context Manager
python3 How to install an external module
How to use xml.etree.ElementTree
How to use Python-shell
How to use tf.data
How to use virtualenv
How to use Seaboan
How to use image-match
How to use shogun
How to use Pandas 2
How to use Virtualenv
How to use numpy.vectorize
How to use partial
How to use Bio.Phylo
How to use SymPy
How to use WikiExtractor.py
How to use IPython
How to use virtualenv
How to use Matplotlib
How to use iptables
How to use numpy
How to use TokyoTechFes2015
How to use venv
How to use dictionary {}
How to use list []
How to use OptParse
How to use return
How to use dotenv
How to use pyenv-virtualenv
How to use Go.mod
How to use imutils
How to use import
How to use Qt Designer
[gensim] How to use Doc2Vec
python3: How to use bottle (2)
Understand how to use django-filter
How to use the generator
[Python] How to use list 1
How to use the Raspberry Pi relay module Python
How to use FastAPI ③ OpenAPI
How to use Python argparse
How to use IPython Notebook
[Note] How to use virtualenv
How to use redis-py Dictionaries
Python: How to use pydub
[Python] How to use checkio
[Go] How to use "... (3 periods)"
How to use Django's GeoIp2
[Python] How to use input ()
How to use the decorator
[Introduction] How to use open3d
How to use Python lambda
How to use Jupyter Notebook
[Python] How to use virtualenv
python3: How to use bottle (3)
python3: How to use bottle
How to use Google Colaboratory