Python anaconda conda问题:无法更新anaconda软件包,因为进程正在运行 [英] Python anaconda conda issue: updating anaconda package impossible because processes are running

查看:269
本文介绍了Python anaconda conda问题:无法更新anaconda软件包,因为进程正在运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在用conda更新anaconda的软件包时遇到问题.当我进行conda更新时-所有问题都对我说:

I have an issue with updating anaconda's packages with conda. when I make a conda update --all there is an issue which says to me:

Error: Unable to remove files for package: cryptography
Please close all processes running code from cryptography and try again.

但是,没有任何进程在运行,我只打开了cmd窗口. 例如,当我要更新dateutile时,情况相同. 就像conda使用某些软件包,然后我无法更新它们一样? 有人知道关闭或删除这些软件包以便重新安装的方法吗?

however, none process are running, I have just the cmd window open. Same story when I want update dateutile for instance. It is like if conda uses some package and then I cannot update them? Somebody knows a method to close or remove those packages in order to reinstall them?

有关信息:

C:\Anaconda3\Scripts>conda info -a
Current conda install:
platform : win-64
conda version : 3.11.0
conda-build version : 1.11.0
python version : 3.4.3.final.0
requests version : 2.6.2
root environment : C:\Anaconda3 (writable)
default environment : C:\Anaconda3
envs directories : C:\Anaconda3\envs
package cache : C:\Anaconda3\pkgs
channel URLs : https://conda.binstar.org/juanlu001/win-64/
https://conda.binstar.org/juanlu001/noarch/
https://repo.continuum.io/pkgs/free/win-64/
https://repo.continuum.io/pkgs/free/noarch/
https://repo.continuum.io/pkgs/pro/win-64/
https://repo.continuum.io/pkgs/pro/noarch/
config file : C:\Users\maxime.condarc
is foreign system : False

推荐答案

此情况在conda的下一版本中将得到改善,但是现在,您可以使用conda install -f cryptography强制conda更新密码.

This situation will be improved in the next version of conda, but for now, you can use conda install -f cryptography to force conda to update cryptography.

这篇关于Python anaconda conda问题:无法更新anaconda软件包,因为进程正在运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆