Python’s version is 2.6.8 by default. For scientific purpose, it’s lack of many packages and out-of-date version.
We’ve created our own Anaconda mirror and two environments (python2.7 and python3.6).
Since the tsinghua mirror has been removed once, we set up the Python environment based on official sources now.
There’re two options for you to use Python:
add these lines to ~/.profile
:
export PATH=/public/software/anaconda/anaconda3/bin:$PATH
. /public/software/anaconda/anaconda3/etc/profile.d/conda.sh
conda activate python37
$ conda list
# If you need more packages, plead add to the end of `/public/software/anaconda/requirements.txt`.
If you can’t find specific package, you can edit /public/software/anaconda/requirements.txt
according to the instruction at the end of that file.
After the package is installed, you’ll get an email.
~/.condarc
to add more channels:channels:
- free
- main
- pro
- conda-forge
show_channel_urls: True
allow_other_channels: True