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 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包就不会报错了!
完毕。
更多推荐
已为社区贡献2条内容
所有评论(0)