Hi all,
I’m running Windows10.
For my project I have to use Python 3.10 with tensorflow-directml, torchvision and other deep learning tools.
here is a link to one of the many guides about my project: link to derivative community post
But even by following the reported guide, i found out that the 2023 touchdesigner version (that is the last compatible one for my purpose) has python 3.11 installed by default.
Even if I link the path to the python 3.10 version in preferences, touchdesigner still uses the 3.11
I also create the system variables PYTHONHOME and PYTHONPATH
To confirm the error, if I put in a text DAT:
import sys
print(sys.version)
print(sys.path)
TD shows me in the Textport:
['C:\\Program Files\\Derivative\\TouchDesigner\\bin', 'C:\\Program Files\\Derivative\\TouchDesigner\\bin\\python311.zip', 'C:\\Program Files\\Derivative\\TouchDesigner\\bin\\Lib', 'C:\\Program Files\\Derivative\\TouchDesigner\\bin\\DLLs', 'C:\\Program Files\\Derivative\\TouchDesigner\\bin', 'C:\\Program Files\\Derivative\\TouchDesigner\\bin\\Lib\\site-packages', 'C:/Users/smanie/AppData/Local/Programs/Python/Python310', 'C:\\Users\\smanie\\AppData\\Local\\Programs\\Python\\Python310\\Lib\\site-packages']
python >>>
So it see the two python versions, but maybe the 3.11 is the preferred one, because TD doesn’t see al my site-packages installed in 3.10 python version (for ex: torchvision, tensorflow-directml).
Help me please T__T
I’m a beginner… I was thinking to manually change the python.exe, python311.dll that are in the folder TouchDesigner/bin but I don’t know if this can work.
NB: a strange thing is that the file C:\Program Files\Derivative\TouchDesigner\bin\python311.zip that TD shows me in the Textport doesn’t exists! even if I perform a clean TD installation