Isto amosa as diferenzas entre a revisión seleccionada e a versión actual da páxina.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| gl:guias:debian_jessie_post_instalacion [2017/05/21 15:22] – [Python] Sergio Alvariño | gl:guias:debian_jessie_post_instalacion [2021/04/16 20:41] (actual) – edición externa 127.0.0.1 | ||
|---|---|---|---|
| Liña 28: | Liña 28: | ||
| </ | </ | ||
| - | ===== Cambiar as opcións | + | ===== Cambiar as opcións |
| Executamos: | Executamos: | ||
| Liña 406: | Liña 406: | ||
| </ | </ | ||
| + | ==== Wire ==== | ||
| + | Un cliente seguro de mensaxeria. | ||
| + | |||
| + | < | ||
| + | sudo aptitude install apt-transport-https | ||
| + | wget -q https:// | ||
| + | echo "deb https:// | ||
| + | sudo aptitude update | ||
| + | sudo aptitude install wire-desktop | ||
| + | </ | ||
| ===== Documentos ===== | ===== Documentos ===== | ||
| Liña 785: | Liña 795: | ||
| sudo aptitude install comix | sudo aptitude install comix | ||
| </ | </ | ||
| - | ===== Desenrolo | + | ===== Desenrolo |
| ==== Paquetes esenciais ==== | ==== Paquetes esenciais ==== | ||
| Liña 999: | Liña 1009: | ||
| </ | </ | ||
| - | ==== pip, virtualenv, virtualenvwrapper, | + | === pip, virtualenv, virtualenvwrapper, |
| - | // | + | // |
| - | Para poder usar los entornos | + | Para poder usar os entornos |
| - | Instalamos | + | Instalamos |
| < | < | ||
| Liña 1013: | Liña 1023: | ||
| sudo pip install --upgrade virtualenv | sudo pip install --upgrade virtualenv | ||
| </ | </ | ||
| - | // | + | // |
| - | Instalamos | + | Instalamos |
| < | < | ||
| sudo apt-get install virtualenvwrapper -y | sudo apt-get install virtualenvwrapper -y | ||
| </ | </ | ||
| - | Para usar // | + | Para usar |
| < | < | ||
| source / | source / | ||
| </ | </ | ||
| - | O añadir esa linea a nuestros ficheros //.bashrc// y/o //.zshrc// | ||
| - | Yo he dejado la variable de entorno | + | Ou engadir esa linea aos nosos ficheiros |
| - | [[http://virtualenvwrapper.readthedocs.io/en/latest/command_ref.html|Aquí]] tenemos la referencia de comandos de // | + | Eu deixei a variable de entorno |
| - | Por último, si queremos | + | [[http:// |
| + | |||
| + | Para rematar, se queremos | ||
| < | < | ||
| sudo pip install virtualfish | sudo pip install virtualfish | ||
| </ | </ | ||
| - | [[http:// | + | [[http:// |
| - | Como tiña prisa por probar o [[https:// | + | === iPython notebook |
| - | Para realizar a instalación | + | [[https:// |
| + | |||
| + | == Instalar Jupyter en el Python del sistema == | ||
| + | |||
| + | Seguimos las instrucciones [[https://gist.github.com/frgomes/24c1923f2c9f14a27b14|aquí]] | ||
| + | |||
| + | Si usamos el script descargado del github se instalará el **Jupyter** | ||
| < | < | ||
| - | bash Anaconda3-4.2.0-Linux-x86_64.sh | + | which python |
| - | # bash Anaconda2-4.2.0-Linux-x86_64.sh | + | |
| </ | </ | ||
| + | == Instalar Anaconda Python == | ||
| - | Deixeino | + | Teóricamente [[https:// |
| + | |||
| + | < | ||
| + | bash Anaconda3-4.2.0-Linux-x86_64.sh | ||
| + | bash Anaconda2-4.2.0-Linux-x86_64.sh | ||
| + | </ | ||
| + | Los he dejado instalados | ||
| - | A suite // | + | Cada una de estas instalaciones |
| - | Así para activar anaconda3 | + | Por ejemplo |
| < | < | ||
| export PATH=" | export PATH=" | ||
| </ | </ | ||
| - | + | Para hacer lo mismo en fish: | |
| - | Para facer o mesmo no fish: | + | |
| < | < | ||
| set -x PATH ~/ | set -x PATH ~/ | ||
| </ | </ | ||
| + | === iPython y GraphLab === | ||
| - | === iPython y GraphLab | + | La instalación de iPython y GraphLab |
| Creamos un entorno conda con Python 2.7.x | Creamos un entorno conda con Python 2.7.x | ||
| < | < | ||
| + | export PATH=" | ||
| conda create -n gl-env python=2.7 anaconda | conda create -n gl-env python=2.7 anaconda | ||
| </ | </ | ||
| Liña 1108: | Liña 1132: | ||
| source deactivate gl-env | source deactivate gl-env | ||
| </ | </ | ||
| - | === Instalación alternativa con virtualenv | + | == Instalación alternativa con virtualenv == |
| < | < | ||
| Liña 1130: | Liña 1154: | ||
| pip install --upgrade --no-cache-dir https:// | pip install --upgrade --no-cache-dir https:// | ||
| </ | </ | ||
| + | |||
| === Usar Emacs para editar Python === | === Usar Emacs para editar Python === | ||
| Liña 1139: | Liña 1164: | ||
| (elpy enable) | (elpy enable) | ||
| </ | </ | ||
| - | // | + | // |
| < | < | ||