Define proxy for package installation in SDL Projects
While logged into seeq as an admin, open a new SDL project then launch a new terminal.
From the terminal, navigate to /seeq/python/global-packages/
Create the hidden folder config (.config)
Create a config file pip.conf
Enter the details for the proxy server and scope it to global
cd /seeq/python/global-packages/
mkdir .config
cd ./config
vi pip.conf
Enter the details
[global]
proxy=http://---proxyserver
save
Now you can install a package using pip install
without calling the proxy server on the terminal (previously using --proxy
).