easygui安装问题求助
环境变量已经设置好了,python也安装了,easygui也移动到指定的文件夹,结果还是如下图所示:这是哪里出现了问题呢? 环境变量(path)里加:
D:/python/Scripts 是把 D:\python 和 D:\python\Scripts 添加进环境变量,不是把 easygui 的路径添加进环境变量 zltzlt 发表于 2020-8-14 09:49
是把 D:\python 和 D:\python\Scripts 添加进环境变量,不是把 easygui 的路径添加进环境变量
Microsoft Windows [版本 10.0.18363.959]
(c) 2019 Microsoft Corporation。保留所有权利。
C:\Users\ASUS>pip install --target=D:\python\Lib\site-packages\easygui
You must give at least one requirement to install (see "pip help install")
You are using pip version 9.0.1, however version 20.2.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
C:\Users\ASUS>
C:\Users\ASUS>
C:\Users\ASUS>pip install easygui
Collecting easygui
Downloading https://files.pythonhosted.org/packages/89/b5/fd22bb3eb36085aeb7781670bbc59cf8b641b1774f77578ec06368865aa3/easygui-0.98.1-py2.py3-none-any.whl (90kB)
100% |████████████████████████████████| 92kB 3.2kB/s
Installing collected packages: easygui
Successfully installed easygui-0.98.1
You are using pip version 9.0.1, however version 20.2.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
C:\Users\ASUS>
安装成功了 ,运行又出了一点问题
Traceback (most recent call last):
File "D:/Desktop/untitled/pycharm.py", line 1, in <module>
ImportError: No module named easygui 用尺子量海 发表于 2020-8-14 09:56
Microsoft Windows [版本 10.0.18363.959]
(c) 2019 Microsoft Corporation。保留所有权利。
你是不是安装了两个版本的 Python ? zltzlt 发表于 2020-8-14 09:57
你是不是安装了两个版本的 Python ?
没有啊,电脑中就安装了pycharm-community-2017.2.7和Anaconda3-5.1.0-Windows-x86_64
这几天前后重新安装了2次,但一直都是两个版本 用尺子量海 发表于 2020-8-14 10:01
没有啊,电脑中就安装了pycharm-community-2017.2.7和Anaconda3-5.1.0-Windows-x86_64
这几天前后重新安 ...
除了 Anaconda 就没有另外安装过 Python 了吗? zltzlt 发表于 2020-8-14 10:05
除了 Anaconda 就没有另外安装过 Python 了吗?
没有了,一直用的是这个 zltzlt 发表于 2020-8-14 10:05
除了 Anaconda 就没有另外安装过 Python 了吗?
C:\Program Files (x86)\IronPython 2.7
我查看了一下,c盘中存在这个是不是导致两个python版本的原因呢 用尺子量海 发表于 2020-8-14 10:10
C:\Program Files (x86)\IronPython 2.7
conda install easygui
试试 xiaosi4081 发表于 2020-8-14 10:29
conda install easygui
试试
C:\Users\ASUS>conda install easygui
Solving environment: failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.continuum.io/pkgs/free/win-64/repodata.json.bz2>
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
ConnectTimeout(MaxRetryError("HTTPSConnectionPool(host='repo.continuum.io', port=443): Max retries exceeded with url: /pkgs/free/win-64/repodata.json.bz2 (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x0000017614616F98>, 'Connection to repo.continuum.io timed out. (connect timeout=9.15)'))",),)
C:\Users\ASUS>
C:\Users\ASUS>pip install easygui pip install easygui pip install easygui pip install easygui ins
Requirement already satisfied: easygui in d:\python\lib\site-packages
Requirement already satisfied: pip in d:\python\lib\site-packages
Collecting install 感谢两位鱼油的帮助,我知道自己错在哪里了,创建了一个easygui的py文件,导致运行不了,另外新建一个py文件就可以了
页:
[1]