anaconda
De Wikicima
(Diferencias entre revisiones)
(Final) |
(→cration of an environtment) |
||
Línea 2: | Línea 2: | ||
= cration of an environtment = |
= 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 [ https://conda.io/docs/user-guide/tasks/manage-environmentshtml#creating-an-environment-with-commands EnvironmentCreation] |
+ | A python environtment is useful to have set-up an specific set of packages to be used for python. Folowing instructions from conda [https://conda.io/docs/user-guide/tasks/manage-environmentshtml#creating-an-environment-with-commands EnvironmentCreation] |
# Creation of the environemnt called ‘lluis’ with ptyhon 2.7 version of codes |
# Creation of the environemnt called ‘lluis’ with ptyhon 2.7 version of codes |
Revisión de 16:13 1 nov 2017
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