CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘.(commandnotfounderror activate)

网友投稿 544 2022-09-03


CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘.(commandnotfounderror activate)

CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.To initialize your shell, run $ conda init Currently supported shells are: - bash - fish - tcsh - xonsh - zsh - powershellSee 'conda init --help' for more information and options.IMPORTANT: You may need to close and restart your shell after running 'conda init'.

解决方式如下:

# 激活 anaconda 环境 source activate# 退出 anaconda 环境 source deactivate

pytorch仓库的创建#创建虚拟环境conda create -n xxx python=3.6#删除虚拟环境conda remove -n your_env_name(虚拟环境名称) --all#激活虚拟环境conda activate your_env_name#退出虚拟环境conda deactivate


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:Excel自动化办公(一) | 满足你对Excel数据的所有幻想,python-office一键生成模拟数据(办公自动化excel教学)
下一篇:Bs4使用过程中常见的问题(为什么bs4包调用不了)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~