cc_staff
284
edits
m (Clearly specify a module version for Python and Scipy-stack) |
m (Added warning about creating a venv on SCRATCH) |
||
Line 83: | Line 83: | ||
<!--T:8--> | <!--T:8--> | ||
With each version of Python, we provide the tool [http://pypi.python.org/pypi/virtualenv virtualenv]. This tool allows users to create virtual environments within which you can easily install Python packages. These environments allow one to install many versions of the same package, for example, or to compartmentalize a Python installation according to the needs of a specific project. Usually you should create your Python virtual environment(s) in your /home directory or in one of your /project directories. (See "Creating virtual environments inside of your jobs" below for a third alternative.) | With each version of Python, we provide the tool [http://pypi.python.org/pypi/virtualenv virtualenv]. This tool allows users to create virtual environments within which you can easily install Python packages. These environments allow one to install many versions of the same package, for example, or to compartmentalize a Python installation according to the needs of a specific project. Usually you should create your Python virtual environment(s) in your /home directory or in one of your /project directories. (See "Creating virtual environments inside of your jobs" below for a third alternative.) | ||
{{Warning | |||
|title=Virtual environment location | |||
|content=Do not create your virtual environment under <tt>$SCRATCH</tt> as it may get partially deleted. | |||
Instead, [[Python##Creating virtual environments inside of your jobs|create it inside your job]]. | |||
}} | |||
<!--T:9--> | <!--T:9--> |