当前位置:首页 > Python > 正文内容

conda 删除虚拟环境报错CondaEnvironmentError: cannot remove current environment

lonely10个月前 (07-14)Python801

conda 删除虚拟环境报错CondaEnvironmentError: cannot remove current environment. deactivate and run conda rem

1、尝试以下命令

conda remove -n your_env_name(虚拟环境名称) --all  
 
conda remove --name your_env_name  package_name  # 删除环境中的某个包

2、尝试以下命令

conda env remove -n python_gpu(自己的虚拟环境名称)



扫描二维码推送至手机访问。

版权声明:本文由复制者发布,如需转载请注明出处。

本文链接:https://www.copyer.cn/post/34.html

分享给朋友:

相关文章

启动Robot Framework时,运行ride.py报错:wx._core.wxAssertionError: C++ assertion "strcmp(setlocale(LC_ALL, NU

启动Robot Framework时,运行ride.py报错:wx._core.wxAssertionError: C++ assertion "strcmp(setlocale(LC_ALL, NU

进入Python目录下\lib\site-packages\robotide\application\目录,打开application.py文件在第50行,将self._initial_locale...

python-selenium弹框处理driver.switch_to.alert

python-selenium弹框处理driver.switch_to.alert

三种弹出框alert(一个按钮),confirm(两个确认,取消),prompt(两个按钮+输入框) 使用示例:ele_alert = driver.switch_to....

详解python的xlwings库读写excel操作总结

详解python的xlwings库读写excel操作总结

 一、总结一句话总结:xlwings 是 Python 中操作Excel的一个第三方库,支持.xls读写,.xlsx读写,操作非常简单,功能也很强大1、xlwings 中的逻辑:应用->...

python获取昨天的日期

python获取昨天的日期

import datetime def getYesterday():     today = datetime.d...

windows更换conda源

windows更换conda源

使用清华源一、cmd中执行conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/an...

windows中配置conda环境变量

windows中配置conda环境变量

一、下载(根据自己的电脑系统下载对应的安装包)官方下载地址:https://www.anaconda.com/products/distribution二、安装下载后双击安装包安装,可以一直下一步默认...

发表评论

访客

看不清,换一张

◎欢迎参与讨论,请在这里发表您的看法和观点。