![]() insert the path to packages_path below and uncomment watch blender's python path in console output at this moment launch next 2 lines of code in blender python interpreter ![]() To show Blender terminal in v2.93 click Window -> Toggle System Console Successfully import your package in the script: import tqdm Packages_path = "C:\\Users\\\\AppData\\Roaming\\Python\\Python39\\Scripts" "\\.\\site-packages" In blender script add the path where your blender's pip installs packages to PATH: import sys Install package you want from blender script ( tqdm for example given below): import pipįrom blender console watch the path where pip actually installs packages in your configuration ( WARNING: The script tqdm.exe is installed in 'C:\Users\\AppData\Roaming\Python\Python39\Scripts' which is not on PATH): For windows, with no special permissions, and from blender python script only:
0 Comments
Leave a Reply. |