Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法激活环境 #7175

Closed
Promisey opened this issue Apr 17, 2018 · 2 comments
Closed

无法激活环境 #7175

Promisey opened this issue Apr 17, 2018 · 2 comments
Labels
locked [bot] locked due to inactivity

Comments

@Promisey
Copy link

提示信息如下:
from: can't read /var/mail/conda.cli
bash: /home/qun/software/anaconda3/bin/conda: 行 10: 未预期的符号 (' 附近有语法错误 bash: /home/qun/software/anaconda3/bin/conda: 行 10: sys.argv[0] = re.sub(r'(-script.pyw?|.exe)?$', '', sys.argv[0])'

出现问题之前,我改过Anaconda文件夹的权限为777,并且更新了conda。

其他信息:
active environment : None
user config file : /home/qun/.condarc
populated config files :
conda version : 4.5.1
conda-build version : 3.8.1
python version : 3.6.5.final.0
base environment : /home/qun/software/anaconda3 (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/free/linux-64
https://repo.anaconda.com/pkgs/free/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/pro/linux-64
https://repo.anaconda.com/pkgs/pro/noarch
package cache : /home/qun/software/anaconda3/pkgs
/home/qun/.conda/pkgs
envs directories : /home/qun/software/anaconda3/envs
/home/qun/.conda/envs
platform : linux-64
user-agent : conda/4.5.1 requests/2.18.4 CPython/3.6.5 Linux/4.13.0-38-generic ubuntu/16.04 glibc/2.23
UID:GID : 1000:1000
netrc file : None
offline mode : False

@Promisey
Copy link
Author

在Ubuntu里的正确命令是:source activate 环境名

@github-actions
Copy link

Hi there, thank you for your contribution to Conda!

This issue has been automatically locked since it has not had recent activity after it was closed.

Please open a new issue if needed.

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Sep 12, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity
Projects
None yet
Development

No branches or pull requests

1 participant