Python

From TRACC Wiki
Revision as of 19:08, July 30, 2021 by Amiot (talk | contribs)
Jump to navigation Jump to search

--Amiot (talk) 16:20, July 6, 2021 (CDT)== Arrow == The default version of Python on Arrow is 2.7.5. and does not require a module to be loaded. You can start the interactive version by entering the command

python2

To run the batch version, start your script with

#!/usr/bin/env python2

The default version of python3 (3.6.8) along with sympy, numpy, and ipython are also installed, but you must load the python libraries. You can use the interactive version by entering the commands

module load python/3.8.2
python3

You can use the batch version by starting your script with

module load python/3.8.2
#!/usr/bin/env python2

You can see general information about modules here.