oliviano
10/6/2018 - 12:38 AM

Python Windows

Windows Python thingies

#Install Python:
python-3.5.1-amd64.exe

#install package (request here for example)
pip install requests

#Check if pip works / installed modules: (in windows cmd)
pip freeze
pip list

#check python packages list: (python promot)
help("modules")

#1 Install Python (for windows & touchdesigner)
  # download & install python 64bit v3.6.6 ( executable installer 64 or amd64 )
  #--- >make sure the "add to ENV path " option is ticked/

#2 Go to env. variable 
  Copy the path something like
  C:\Users\pk\AppData\Local\Programs\Python\Python35\
-
#3 In touch designer change the folder in preference | python 64 bit modules:
C:\Users\pk\AppData\Local\Programs\Python\Python35\Lib\site-packages

#4 MULTIPLE PYTHON VERSION:
check with py launcher witch version are installed:
py --list

then you can target specific version for installing / pip''ing ( start as admin)
py -3.7 -m pip install packagename

--- IN #99 / 2020 
TD ython Version : Python 3.7.2 (heads/3.7-Derivative:052feb9e72, Mar  7 2019, 16:29:45) [MSC v.1900 64 bit (AMD64)]

Installing python version 3.7.

on HP:
  deleted env Path:
    C:\Users\PK\AppData\Local\Programs\Python\Python37\
    C:\Users\PK\AppData\Local\Programs\Python\Python37\Scripts\