Problem:
If you are behind a Proxy and need to install Python packages, the Analyst Client package manager sometimes fails.
Or if you are installing Python packages on a Node Manager (i.e Python Service) you don't have a package manager GUI.
Solution:
Use the Analyst Client to give you the path to Python. Then use a command window to CD into that path.
Or find your Python Services ( tibco\tsnm\<version>\nm\services\Python Service Windows-<version>-<id>\python).
Then execute: python.exe -m pip install --proxy=http://<proxyserver>:<port> <pkg_name>
Replace the proxyserver, port & pkg_name with valid values.
If your proxy refuses because it requires a username and password, you can also try:
python.exe -m pip install --proxy=http://<username>:<password>@<proxyserver>:<port> <pkg_name>
This box will be hidden from the public.
From Case: #229387
Comments
0 comments
Article is closed for comments.