u版图安装matplotlib时,报错ERROR: Could not install packages due to an EnvironmentError

系统:u版图

报错
(环境问题)

ERROR: Could not install packages due to an EnvironmentError: ('Received response with content-encoding: gzip, but failed to decode it.', error('Error -3 while decompressing data: incorrect header check',))

解决方法
(使用sudo权限)

sudo pip3 install matplotlib

如果需要安装在虚拟环境,则找到虚拟环境bin目录下的pip3,使用虚拟环境的pip3安装

sudo ./pip3 install matplotlib
u版图安装matplotlib时,报错ERROR: Could not install packages due to an EnvironmentErroru版图安装matplotlib时,报错ERROR: Could not install packages due to an EnvironmentError chent_某位 发布了37 篇原创文章 · 获赞 8 · 访问量 2639 私信 关注
上一篇:【Spring】IOC操作bean管理(三)——xml自动装配(autowire)


下一篇:记录@Autowire为null