python 安装第三方库出问题

2016-09-07 10:50:08 +08:00
 getlost

不知道问题在哪,请大神帮忙看看,以前安装都没有这个问题,今天安出问题了,我把 python 卸载了重装还是这样。 我在 cmd 使用 easy_install 装 pillow 但是出现“ c:\User\Administrator\easy_install.exe 不是有效的 win32 应用程序”错误,这该怎么解决???

2327 次点击
所在节点    Python
13 条回复
Jblue
2016-09-07 10:51:55 +08:00
看下 python 和 pillow 版本
getlost
2016-09-07 10:57:52 +08:00
@Jblue python 3.5.1 , pillow 不知道啊,不是输入命令后程序自己上网下载吗?
imn1
2016-09-07 11:03:06 +08:00
windows 还是直接找 exe 装的好
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pillow

另外, easy_install.exe 为何在这个路径?这不对吧?
getlost
2016-09-07 11:14:56 +08:00
@imn1 谢谢, pip 能用
wyntergreg
2016-09-07 11:24:40 +08:00
权限问题
getlost
2016-09-07 11:35:27 +08:00
@imn1 又出问题了,没安上, valueError:zlib is required unless explictly disabled using ,是需要安装 zlib 吗?
getlost
2016-09-07 11:35:49 +08:00
@wyntergreg 什么意思,怎么弄啊
wyntergreg
2016-09-07 11:39:16 +08:00
@getlost win8 和 win10 的 C 盘权限很操蛋,装东西尽量别装 C 盘
getlost
2016-09-07 11:47:03 +08:00
@wyntergreg 我是 win7 的, python 装在 f 盘
ruanimal
2016-09-07 12:38:37 +08:00
为何不用 pip 。
windows 的 pillow 用 http://www.lfd.uci.edu/~gohlke/pythonlibs/#pillow
TimePPT
2016-09-07 12:56:35 +08:00
大兄弟,听我一句劝,如果你的开发及产品并依赖 Windows 环境,就虚拟机装个 Linux 发行版吧,折腾这些装的上装不上的破事没意义。
getlost
2016-09-08 22:28:29 +08:00
@ruanimal valueError:zlib is required unless explictly disabled using 用 pip 会出现这个错误
getlost
2016-09-08 22:28:55 +08:00
@TimePPT 还没用过,我试试

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/304499

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX