我正在尝试通过anaconda promt安装kivy。
我得到以下结果,
(base) C:\WINDOWS\system32>conda install -c conda-forge kivy
Solving environment: /
Warning: 2 possible package resolutions (only showing differing packages):
- conda-forge::sdl2_image-2.0.2-0
- conda-forge::sdl2_image-2.0.2-vc14done
## Package Plan ##
environment location: C:\Users\vedan\Anaconda3
added / updated specs:
- kivy
The following NEW packages will be INSTALLED:
glew: 2.0.0-he025d50_1002 conda-forge
kivy: 1.10.1-py36h47ee06f_1 conda-forge
krb5: 1.16.3-hdd46e55_1001 conda-forge
sdl2: 2.0.8-h6538335_1001 conda-forge
sdl2_image: 2.0.2-0 conda-forge
sdl2_mixer: 2.0.1-h6538335_1 conda-forge
sdl2_ttf: 2.0.14-h8909db8_1 conda-forge
smpeg2: 2.0.0-h6538335_1 conda-forge
The following packages will be REMOVED:
anaconda: 5.2.0-py36_3
The following packages will be UPDATED:
ca-certificates: 2018.03.07-0 --> 2018.11.29-ha4d7672_0 conda-forge
certifi: 2018.4.16-py36_0 --> 2018.11.29-py36_1000 conda-forge
conda: 4.5.4-py36_0 --> 4.6.7-py36_0 conda-forge
cryptography: 2.2.2-py36hfa6e2cd_0 --> 2.5-py36h7a1dbc1_0
curl: 7.60.0-h7602738_0 --> 7.64.0-h4496350_2 conda-forge
freetype: 2.8-h51f8f2c_1 --> 2.8.1-ha63716d_1 conda-forge
libcurl: 7.60.0-hc4dcbb0_0 --> 7.64.0-h4496350_2 conda-forge
libpng: 1.6.34-h79bbb47_0 --> 1.6.36-h7602738_1000 conda-forge
libssh2: 1.8.0-hd619d38_4 --> 1.8.0-h642c060_1004 conda-forge
openssl: 1.0.2o-h8ea7d77_0 --> 1.1.1b-hfa6e2cd_0 conda-forge
pycurl: 7.43.0.1-py36h74b6da3_0 --> 7.43.0.2-py36h7a1dbc1_0
qt: 5.9.5-vc14he4a7d60_0 --> 5.9.7-vc14h73c81de_0
sqlite: 3.23.1-h35aae40_0 --> 3.26.0-hfa6e2cd_1000 conda-forge
tk: 8.6.7-hcb92d03_3 --> 8.6.9-hfa6e2cd_1000 conda-forge
vc: 14-h0510ff6_3 --> 14.1-h0510ff6_4
vs2015_runtime: 14.0.25123-3 --> 14.15.26706-h3a45250_0
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: done
Executing transaction: failed
ERROR conda.core.link:_execute(502): An error occurred while uninstalling package 'defaults::qt-5.9.5-vc14he4a7d60_0'.
PermissionError(13, 'The process cannot access the file because it is being used by another process')
Attempting to roll back.
Rolling back transaction: done
PermissionError(13, 'The process cannot access the file because it is being used by another process')
即使以管理员身份运行promt,我也遇到相同的错误。
请尽可能提供解决方案。
参考方案
我也面临同样的问题。我关闭了所有的python窗口(例如,spyder / pycharm等)。然后再次安装了conda并成功了。尝试关闭所有与python相关的窗口,然后尝试安装。
在返回'Response'(Python)中传递多个参数 - python我在Angular工作,正在使用Http请求和响应。是否可以在“响应”中发送多个参数。角度文件:this.http.get("api/agent/applicationaware").subscribe((data:any)... python文件:def get(request): ... return Response(seriali…
Python exchangelib在子文件夹中读取邮件 - python我想从Outlook邮箱的子文件夹中读取邮件。Inbox ├──myfolder 我可以使用account.inbox.all()阅读收件箱,但我想阅读myfolder中的邮件我尝试了此页面folder部分中的内容,但无法正确完成https://pypi.python.org/pypi/exchangelib/ 参考方案 您需要首先掌握Folder的myfo…
R'relaimpo'软件包的Python端口 - python我需要计算Lindeman-Merenda-Gold(LMG)分数,以进行回归分析。我发现R语言的relaimpo包下有该文件。不幸的是,我对R没有任何经验。我检查了互联网,但找不到。这个程序包有python端口吗?如果不存在,是否可以通过python使用该包? python参考方案 最近,我遇到了pingouin库。
AttributeError:'AnonymousUserMixin'对象没有属性'can' - python烧瓶学习问题为了定制对匿名用户的要求,我在模型中设置了一个类: class MyAnonymousUser(AnonymousUserMixin): def can(self, permissions): return False def is_administrator(self): return False login_manager.anonymous…
如何用'-'解析字符串到节点js本地脚本? - python我正在使用本地节点js脚本来处理字符串。我陷入了将'-'字符串解析为本地节点js脚本的问题。render.js:#! /usr/bin/env -S node -r esm let argv = require('yargs') .usage('$0 [string]') .argv; console.log(argv…