[PYTHON] Installez miniconda sur Chromebook (en utilisant chromebrew + git)

J'ai remarqué que git peut être inséré directement avec chromebrew, alors je l'ai créé. C'est peut-être plus intelligent que ceci. Puisque chromeos a divers problèmes d'autorité, une petite boule de changement est nécessaire. Chromebook utilise ASUS C300MA

Installez chromebrew

Cela entre rapidement URL de référence

wget -q -O - https://raw.github.com/skycocker/chromebrew/master/install.sh | bash
sudo chown -R chronos:chronos /usr/local

Remplissez / usr / local / bin /

0h              cpp          gettext             ld         msginit          pod2latex          pyvenv           testrb
2to3            crew         gettextize          ld.bfd     msgmerge         pod2man            pyvenv-3.3       tic
2to3-3.3        curl         gettext.sh          ldd        msgunfmt         pod2text           rake             toe
a2p             curl-config  git                 less       msguniq          pod2usage          ranlib           tput
addr2line       diff         git-cvsserver       lessecho   mtrace           podchecker         rdoc             tset
ar              diff3        gitk                lesskey    ncurses5-config  podselect          readelf          tzselect
as              elfedit      git-receive-pack    libnetcfg  ngettext         prove              recode-sr-latin  x86_64-unknown-linux-gnu-c++
autopoint       enc2xs       git-shell           locale     nm               psed               reset            x86_64-unknown-linux-gnu-g++
c++             envsubst     git-upload-archive  localedef  objcopy          pstruct            ri               x86_64-unknown-linux-gnu-gcc
c2ph            erb          git-upload-pack     make       objdump          ptar               rpcgen           x86_64-unknown-linux-gnu-gcc-4.8.1
captoinfo       find2perl    gprof               makedb     pcprofiledump    ptardiff           ruby             x86_64-unknown-linux-gnu-gcc-ar
catchsegv       g++          h2ph                msgattrib  perl             ptargrep           s2p              x86_64-unknown-linux-gnu-gcc-nm
c++filt         gcc          h2xs                msgcat     perl5.18.1       pydoc3             sdiff            x86_64-unknown-linux-gnu-gcc-ranlib
clear           gcc-ar       iconv               msgcmp     perlbug          pydoc3.3           shasum           xgettext
cmp             gcc-nm       idle3               msgcomm    perldoc          python             size             xmlwf
config_data     gcc-ranlib   idle3.3             msgconv    perlivp          python3            sotruss          xsubpp
corelist        gcov         infocmp             msgen      perlthanks       python3.3          splain           xtrace
cpan            gem          infotocap           msgexec    piconv           python3.3-config   sprof            zipdetails
cpan2dist       gencat       instmodsh           msgfilter  pl2pm            python3.3m         strings
cpanp           getconf      irb                 msgfmt     pldd             python3.3m-config  strip
cpanp-run-perl  getent       json_pp             msggrep    pod2html         python3-config     tabs

Installez pyenv

git clone https://github.com/yyuu/pyenv.git /usr/local/bin/.pyenv
git clone https://github.com/yyuu/pyenv-update.git /usr/local/bin/.pyenv/plugins/pyenv-update

S'il est directement sous ~ /, vous ne pourrez plus l'installer par la suite, changez donc d'emplacement.

Ajoutez de la magie à .bashrc.

echo 'export PYENV_ROOT="/usr/local/bin/.pyenv"' >> ~/.bashrc
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(pyenv init -)"' >> ~/.bashrc
source ~/.bashrc

Installation de miniconda

Je ne peux pas écrire dans / tmp, donc quand j'essaye de le mettre normalement, j'obtiens l'erreur suivante. python-build: TMPDIR=/tmp cannot hold executables (partition possibly mounted with noexec) Reportez-vous à Exemple de rvenv et spécifiez TMPDIR à saisir. Je n'ai pas de SSD, j'utilise donc miniconda.

cd /usr/local/bin
TMPDIR="${PWD}/tmp" pyenv install miniconda3-latest
pyenv global miniconda3-latest
pyenv rehash

Maintenant que vous pouvez utiliser à la fois conda et pip, vous pouvez créer librement un environnement python.

Recommended Posts

Installez miniconda sur Chromebook (en utilisant chromebrew + git)
Installer enebular-agent sur le livre Chrome
Installer Python sur CentOS à l'aide de Pyenv
Installez Python sur CentOS en utilisant pyenv
Installez la bibliothèque python sur Lambda à l'aide de [/ tmp]
Installez VScode sur le Chromebook Lenovo IdeaPad Duet
Installez Python 3.8.6 sur macOS BigSur à l'aide de pyenv
Comment installer Git GUI et Gitk sur CentOS
Développé en installant Git, VSCode, Docker sur Chrome OS
Comment installer git sur Linux tel que EC2
Installer mecab sur Marvericks
Installez Tensorflow sur Mac
Installez TensorFlow sur Ubuntu
Installer python sur WSL
Installez Faiss sur CentOS 7
Installez pyenv sur Mac
Installez Python sur Pidora.
Installez mongodb sur termux
Installez Scrapy sur python3
Installer docker sur Fedora31
Installez numba sur CentOS 7.2
Installez Ansible sur Mac
Installez Python sur Mac
Installer Python 3 dans un environnement Mac
Installez Plone (4.3.6) sur MacOSX (10.10.3)
Installez PySide2 sur Ubuntu
Installez Python3.4 sur CentOS 6.6
Installer gensim sur Marvericks
Installez JModelica sur Ubuntu
Installez Anaconda sur Windows 10
Installez numpy sur Marvericks
Installez python sur Windows
Installez pycuda sur Windows10
Installez mecab-python sur CentOS
Installez Python 2.7.3 sur CentOS 5.4
Installez aws-cli sur MacPorts
Installez pygraphviz sur Windows 10
Installez Docker sur AWS
Installez Python 3.3 sur Ubuntu 12.04
Installez Chainer 1.5.0 sur Windows
Installez Python 3.4 sur Mac
Installez Caffe sur Mac
Installez Theano sur Ubuntu 12.04
Installez pyenv sur OSX
Installer mecab sur Mac
Installez awscli sur centos7
Installez angr sur Ubuntu 18.04
Installer Chainer sur CentOS 6.7
Remarques sur l'utilisation d'Alembic
installer mecab-python sur Mac
Installez pip / pip3 sur Ubuntu
Installez Python 3.6 sur Docker
Installez la dernière version de Git sur votre serveur Linux