1% conda install scipy
2zsh: command not found: conda
3% pip install peewee
4zsh: command not found: pip
試したこと
ここまでは問題なくできました。
bash
1$ bash Miniconda2-latest-MacOSX-x86_64.sh
再度インストールしてPATHを通そうとしました。
bash
1Do you wish the installer to prepend the Miniconda3 install location
2to PATHin your /home/usename/.bashrc ? [yes|no]3[no]>>>yes45Appending source /home/username/miniconda3/bin/activate to /home/username/.bashrc
6A backup will be made to: /home/username/.bashrc-miniconda3.bak
789For this change to become active, you have to open a new terminal.
1011Thank you for installing Miniconda3!12% conda
13zsh: command not found: conda
14% pip
15zsh: command not found: pip
補足情報(FW/ツールのバージョンなど)
Linux version 4.18.9-arch1-1-ARCH Minicondaは、Python 3.7のLinux 64-bit (bash installer)をインストールしました。
$ wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
$ bash Miniconda3-latest-Linux-x86_64.sh
Welcome to Miniconda3 4.5.11
In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>>
Enter キーを押すと利用規約が表示さます。
Do you accept the license terms? [yes|no]
[no] >>> Please answer 'yes' or 'no':'
>>> yes
一番下までスクロールし、yes を入力し、Enter を押します。
Miniconda3 will now be installed into this location:
/root/miniconda3
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
ここにインストール先のディレクトリが表示されています。(この例では、/root/miniconda3)
環境によって違うので、確認してください。
Enter キーを押し、インストールを続行します。
You may wish to edit your .bashrc to prepend the Miniconda3 install location to PATH:
export PATH=/root/miniconda3/bin:$PATH
Thank you for installing Miniconda3!
.bashrc を見ると、追加されている。
export PATH="/root/miniconda3/bin:$PATH"
これでインストールが完了です。
$ source ~/.bashrc
$ which conda
/root/miniconda3/bin/conda
Ubuntu 16.04 の環境上で実際に試してみましたが、上記の通りインストールできました。
インストーラーに表示される英文 (利用規約以外) は内容を読んでください。
すでにインストール済みであると下記のようにでるので、rm で削除してから再インストールしてみてください。
```
ERROR: File or directory already exists: '/root/miniconda3'
If you want to update an existing installation, use the -u option.
```
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。