栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

python安装包时报错:distributed 1.21.8 requires msgpack, which is not installed.

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

python安装包时报错:distributed 1.21.8 requires msgpack, which is not installed.

新手上路就遇路障:

执行pip install uiautomator2命令是出现以下报错:

红字:distributed 1.21.8 requires msgpack, which is not installed.

大致意思是:需要msgpack,但未安装

黄字:You are using pip version 10.0.1, however version 21.1.3 is available.

大致意思是:你需要升级一下pip版本

解决方案: 1、首先安装msgpack,

输入:pip install msgpack

(看网上有人出现没有user的权限的错误:[WinError 5] 拒绝访问

consider use the '--user' option or check the permissions)

如果出现user报错,可以输入:pip install --user msgpack

出现successfully表示安装成功了

2、升级pip

直接执行黄字中的提示命令就可以了

输入:python -m pip install --upgrade pip

 得到以上结果说明就成功了

再去安装你需要安装的python包就不会报错了!

完毕。

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/958009.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号