anaconda
De Wikicima
Revisión a fecha de 16:13 1 nov 2017; Lluis.fita (Discusión | contribuciones)
CIMA's ciomputational resources have conda installed. This facilitates the individualized management of, for example, python
cration of an environtment
A python environtment is useful to have set-up an specific set of packages to be used for python. Folowing instructions from conda EnvironmentCreation
- Creation of the environemnt called ‘lluis’ with ptyhon 2.7 version of codes
conda create –name lluis lluis python=2.7
- To activate the environment
$ source activate lluis (lluis) $
- Knowing packages of the environtment:
$ conda list -n lluis # packages in environment at /home/lluis.fita/datosskogul/minconda3/envs/lluis: # ca-certificates 2017.7.27.1 0 conda-forge certifi 2017.7.27.1 py27_0 conda-forge ncurses 5.9 10 conda-forge openssl 1.0.2l 0 conda-forge pip 9.0.1 py27_0 conda-forge python 2.7.14 0 conda-forge readline 6.2 0 conda-forge setuptools 36.6.0 py27_1 conda-forge sqlite 3.13.0 1 conda-forge tk 8.5.19 2 conda-forge wheel 0.30.0 py_1 conda-forge zlib 1.2.8 3 conda-forge
- To install a pakage (assuming pip is already in the environtment!):
$ pip install numpy