24 conda
我使用这里的32 位.sh
文件安装了 Conda 。
以下是运行良好的安装过程的基本部分:
Do you approve the license terms? [yes|no]
[no] >>> yes
Miniconda3 will now be installed into this location:
/home/begueradj/miniconda3
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
[/home/begueradj/miniconda3] >>>
PREFIX=/home/begueradj/miniconda3
installing: python-3.4.2-0 ...
installing: conda-env-2.0.1-py34_0 ...
installing: openssl-1.0.1k-0 ...
installing: pycosat-0.6.1-py34_0 ...
installing: pyyaml-3.11-py34_0 ...
installing: readline-6.2-2 ...
installing: requests-2.5.1-py34_0 ...
installing: sqlite-3.8.4.1-0 ...
installing: system-5.8-1 ...
installing: tk-8.5.15-0 ...
installing: xz-5.0.5-0 ...
installing: yaml-0.1.4-0 ...
installing: zlib-1.2.8-0 ...
installing: conda-3.8.3-py34_0 ...
Python 3.4.2 :: Continuum Analytics, Inc.
creating default environment...
installation finished.
Do you wish the installer to prepend the Miniconda3 install location
to PATH in your /home/begueradj/.bashrc ? [yes|no]
[no] >>> yes
Prepending PATH=/home/begueradj/miniconda3/bin to PATH in /home/begueradj/.bashrc
A backup will be made to: /home/begueradj/.bashrc-miniconda3.bak
For this change to become active, you have to open a new terminal.
Thank you for installing Miniconda3!
begueradj@begueradj-HP-Compaq-6510b-KE130ET-ABF:~/Desktop$
Run Code Online (Sandbox Code Playgroud)
当我输入 sudo conda install 东西时,我收到这个错误:
sudo: conda: command not found
Run Code Online (Sandbox Code Playgroud)
我该如何解决这个问题?
小智 22
好吧,我不习惯这么快找到我的问题的答案,但对于这个问题,我做到了:
我只需要删除sudo
之前的conda
命令。
解释:
所有 conda 命令都必须在没有超级用户权限的情况下运行。
希望它可以在未来帮助某人。
小智 12
如果您收到CondaIOError
withconda
命令,则表示conda目录没有足够的权限来下载和保存新库。
只需在终端中执行这些命令,您就可以开始了:
sudo chown -R username /home/username/path-to-conda-folder/
sudo chmod -R +x /home/username/path-to-conda-folder/
根据您的 PC更改用户名和路径到 conda 文件夹。
希望这可以帮助!:)
小智 10
您可以在运行 sudo 命令之前执行以下操作:
which conda
Run Code Online (Sandbox Code Playgroud)
然后使用完整的 conda 路径
sudo ~/install/ananconda//5.1../etc install myPackageName
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
52937 次 |
最近记录: |