鱼C论坛

 找回密码
 立即注册
查看: 1354|回复: 3

关于安装EasyGui的问题

[复制链接]
发表于 2019-2-17 15:43:42 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能^_^

您需要 登录 才可以下载或查看,没有账号?立即注册

x
本帖最后由 寓捷 于 2019-2-17 15:50 编辑

C:\Users\ASUS\Desktop\easygui-docs-0.96>pip install easygui
Collecting easygui
  Using cached https://files.pythonhosted.org/packages/89/b5/fd22bb3eb36085aeb7781670bbc59cf8b641b1774f77578ec06368865aa
3/easygui-0.98.1-py2.py3-none-any.whl
Installing collected packages: easygui
Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'c:\\program files (x86)\\python37-32\\L
ib\\site-packages\\easygui'
Consider using the `--user` option or check the permissions.


You are using pip version 10.0.1, however version 19.0.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.


我用小甲鱼老师视频里的办法不行,然后我在网上看到可以pip,但是我也不行。。
以上是我安装时的DOS窗口,我试了多次,一直会报如上红色的错误,请问这是为什么

如果用小甲鱼老师的方法则是这样的:
C:\Users\ASUS\Desktop\easygui-docs-0.96>"C:\Program Files (x86)\Python37-32\python.exe" setup.py install
running install
running build
running build_py
creating build
creating build\lib
copying easygui.py -> build\lib
running install_lib
copying build\lib\easygui.py -> C:\Program Files (x86)\Python37-32\Lib\site-packages
error: could not create 'C:\Program Files (x86)\Python37-32\Lib\site-packages\easygui.py': Permission denied

最后显示permission denied,完全不知道为什么
小甲鱼最新课程 -> https://ilovefishc.com
回复

使用道具 举报

发表于 2019-2-17 16:23:58 | 显示全部楼层
ou are using pip version 10.0.1, however version 19.0.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.


升级下你的Pip试试,然后再安装Easygui。
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2019-2-17 16:33:21 | 显示全部楼层
heidern0612 发表于 2019-2-17 16:23
ou are using pip version 10.0.1, however version 19.0.2 is available.
You should consider upgrading ...

C:\Users\ASUS\Desktop\easygui-docs-0.96>python -m pip install --upgrade pip
Collecting pip
  Using cached https://files.pythonhosted.org/packages/d7/41/34dd96bd33958e52cb4da2f1bf0818e396514fd4f4725a79199564cd0c2
0/pip-19.0.2-py2.py3-none-any.whl
Installing collected packages: pip
  Found existing installation: pip 10.0.1
    Uninstalling pip-10.0.1:
Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'c:\\program files (x86)\\python37-32\\l
ib\\site-packages\\pip-10.0.1.dist-info\\entry_points.txt'
Consider using the `--user` option or check the permissions.


You are using pip version 10.0.1, however version 19.0.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.


我更新之后又报错了。。
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2019-2-17 16:35:13 | 显示全部楼层
本帖最后由 heidern0612 于 2019-2-17 16:37 编辑

反复尝试升级pip。
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2026-1-14 00:54

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表