Python: Difference between revisions

Jump to navigation Jump to search
m
Clearly specify a module version for Python and Scipy-stack
No edit summary
m (Clearly specify a module version for Python and Scipy-stack)
Line 85: Line 85:


<!--T:9-->
<!--T:9-->
To create a virtual environment, make sure you have selected a Python version with <code>module load python</code> as shown above in section ''Loading a Python module''.  If you expect to use any of the packages listed in section ''SciPy stack'' above, also run <code>module load scipy-stack</code>.  Then enter the following command, where <code>ENV</code> is the name of the directory for your new environment:
To create a virtual environment, make sure you have selected a Python version with <code>module load python/X.Y.Z</code> as shown above in section ''Loading a Python module''.  If you expect to use any of the packages listed in section ''SciPy stack'' above, also run <code>module load scipy-stack/X.Y.Z</code>.  Then enter the following command, where <code>ENV</code> is the name of the directory for your new environment:
{{Command|virtualenv --no-download ENV}}
{{Command|virtualenv --no-download ENV}}


cc_staff
284

edits

Navigation menu