安装不伤easygui
python.exe 的文件夹是C:\Users\lenovo\Desktop\64bit\PyDLLs\python.exesetup.py 的文件夹是C:\Users\lenovo\Desktop\robertlugg-easygui-cbd30b0\setup.py
直接使用python -m pip install easygui安装不上
C:\Users\lenovo\Desktop\64bit\PyDLLs> python -m pip install easygui
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = 'python'
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = 'C:\\Users\\lenovo\\Desktop\\64bit\\PyDLLs\\python.exe'
sys.base_prefix = ''
sys.base_exec_prefix = ''
sys.executable = 'C:\\Users\\lenovo\\Desktop\\64bit\\PyDLLs\\python.exe'
sys.prefix = ''
sys.exec_prefix = ''
sys.path = [
'C:\\Users\\lenovo\\Desktop\\64bit\\PyDLLs\\python38.zip',
'.\\DLLs',
'.\\lib',
'C:\\Users\\lenovo\\Desktop\\64bit\\PyDLLs',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00004864 (most recent call first):
<no Python frame>
怎么搞
直接在命令行进行 pip 安装,输入下方代码:
python -m pip install easygui -i https://pypi.tuna.tsinghua.edu.cn/simple
页:
[1]