User Tools

Site Tools


python

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
python [2020/12/21 19:29]
root
python [2021/12/14 18:25]
root
Line 10: Line 10:
 [[ https://www.python.org/downloads/source/ | Python compiled from source ]] will sometimes install Python modules that won't install in Anaconda.  Recommended [[ environment_modules ]] are python/2.7.15 and 3.6.0. [[ https://www.python.org/downloads/source/ | Python compiled from source ]] will sometimes install Python modules that won't install in Anaconda.  Recommended [[ environment_modules ]] are python/2.7.15 and 3.6.0.
  
-If you type ''python'' at the shell without loading any [[ environment_modules ]], you will get Centos system Python2, which is quite old and unsuitable for all but the simplest uses, but needs to be in the default path for some system programs to run.  There is no default Python3.+If you type ''python'' at the shell without loading any [[ environment_modules ]], you will get Centos system python2 2.7.5, which is quite old and unsuitable for all but the simplest uses, but needs to be in the default path for some system programs to run.  Default system python3 is 3.7.3 with very few python modules.  These system versions are not modified in order to avoid breaking system utilities.
  
 ==Custom Python Setups== ==Custom Python Setups==
Line 16: Line 16:
  
 ==conda== ==conda==
-''conda'' is a utility program for Anaconda Python, see [[ https://docs.conda.io/projects/conda/en/latest/user-guide/getting-started.html| getting-started]]. It is most commonly used as ''conda list'' to show the Python modules in the current environment.+''conda'' is a utility program for Anaconda Python, see [[ https://docs.conda.io/projects/conda/en/latest/user-guide/getting-started.html| getting-started]]. It is most commonly used as ''conda list'' to show the Python modules in the current environment. ''conda'' was originally designed for Python but can also manage installations of other programs such as ''R''.
  
 Some examples of conda commmands are shown below. This shows environments or subversions that have different Python module configurations. If unspecified you will be using the starred "base" environment.  ''conda info'' also finds a base environment for Python2 (not usable here in Python3). There are two custom environments that have been defined by the system (''tf_gpu'' and ''theano-env''), and the user running this doesn't have any environments yet.  Some examples of conda commmands are shown below. This shows environments or subversions that have different Python module configurations. If unspecified you will be using the starred "base" environment.  ''conda info'' also finds a base environment for Python2 (not usable here in Python3). There are two custom environments that have been defined by the system (''tf_gpu'' and ''theano-env''), and the user running this doesn't have any environments yet. 
python.txt ยท Last modified: 2022/02/18 20:21 by root