If you have a library you want to use on the company shared server, you may want to prepare an independent execution environment, so that memo
$ pip install virtualenv
$ virtualenv
Then, when Help of virtualenv is displayed, installation is completed.
On a suitable directory,
$ virtualenv --distribute newenv
$ source newenv/bin/activate
(newenv)$ ***
Done when the prompt changes
Check installed libraries
(newenv)$ pip freeze
Installation in another environment
(newenv)$ pip freeze > packages.txt
(newenv2)$ pip install -r packages.txt
Recommended Posts