pallas 发表于 2021-8-4 09:44:40

关于easygui的安装问题

E:\>pip install easygui
Requirement already satisfied: easygui in c:\users\mate\anaconda3\lib\site-packages (0.98.2)
cryptography 3.3.2 has requirement cffi>=1.12, but you'll have cffi 1.11.5 which is incompatible.
You are using pip version 10.0.1, however version 21.2.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
不知道怎么解决,网上搜索过给的方法是
pip install PyCrypto

pip install paramiko
结果:
E:\>pip install PyCrypto
Requirement already satisfied: PyCrypto in c:\users\mate\anaconda3\lib\site-packages (2.6.1)
cryptography 3.3.2 has requirement cffi>=1.12, but you'll have cffi 1.11.5 which is incompatible.
You are using pip version 10.0.1, however version 21.2.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

E:\>
E:\>pip install paramiko
Collecting paramiko
Using cached https://files.pythonhosted.org/packages/95/19/124e9287b43e6ff3ebb9cdea3e5e8e88475a873c05ccdf8b7e20d2c4201e/paramiko-2.7.2-py2.py3-none-any.whl
Collecting bcrypt>=3.1.3 (from paramiko)
Using cached https://files.pythonhosted.org/packages/d8/ba/21c475ead997ee21502d30f76fd93ad8d5858d19a3fad7cd153de698c4dd/bcrypt-3.2.0.tar.gz
Installing build dependencies ... done
Requirement already satisfied: cryptography>=2.5 in c:\users\mate\anaconda3\lib\site-packages (from paramiko) (3.3.2)
Collecting pynacl>=1.0.1 (from paramiko)
Using cached https://files.pythonhosted.org/packages/6d/d9/e07edb489aacc819ff76cab97d7de751c6d00f48c6a600a9f4b7745080c4/PyNaCl-1.4.0-cp37-cp37m-win_amd64.whl
Requirement already satisfied: cffi>=1.1 in c:\users\mate\anaconda3\lib\site-packages (from bcrypt>=3.1.3->paramiko) (1.11.5)
Requirement already satisfied: six>=1.4.1 in c:\users\mate\anaconda3\lib\site-packages (from bcrypt>=3.1.3->paramiko) (1.15.0)
Requirement already satisfied: pycparser in c:\users\mate\anaconda3\lib\site-packages (from cffi>=1.1->bcrypt>=3.1.3->paramiko) (2.18)
Building wheels for collected packages: bcrypt
Running setup.py bdist_wheel for bcrypt ... error
Complete output from command C:\Users\mate\Anaconda3\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\mate\\AppData\\Local\\Temp\\pip-install-n67rf4zs\\bcrypt\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d C:\Users\mate\AppData\Local\Temp\pip-wheel-4jazi7vu --python-tag cp37:
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\bcrypt
copying src\bcrypt\__about__.py -> build\lib.win-amd64-3.7\bcrypt
copying src\bcrypt\__init__.py -> build\lib.win-amd64-3.7\bcrypt
copying src\bcrypt\py.typed -> build\lib.win-amd64-3.7\bcrypt
running build_ext
generating cffi module 'build\\temp.win-amd64-3.7\\Release\\_bcrypt.c'
creating build\temp.win-amd64-3.7
creating build\temp.win-amd64-3.7\Release
building '_bcrypt' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

----------------------------------------
Failed building wheel for bcrypt
Running setup.py clean for bcrypt
Failed to build bcrypt
cryptography 3.3.2 has requirement cffi>=1.12, but you'll have cffi 1.11.5 which is incompatible.
Installing collected packages: bcrypt, pynacl, paramiko
Running setup.py install for bcrypt ... error
    Complete output from command C:\Users\mate\Anaconda3\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\mate\\AppData\\Local\\Temp\\pip-install-n67rf4zs\\bcrypt\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\mate\AppData\Local\Temp\pip-record-cwud9ljs\install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.7
    creating build\lib.win-amd64-3.7\bcrypt
    copying src\bcrypt\__about__.py -> build\lib.win-amd64-3.7\bcrypt
    copying src\bcrypt\__init__.py -> build\lib.win-amd64-3.7\bcrypt
    copying src\bcrypt\py.typed -> build\lib.win-amd64-3.7\bcrypt
    running build_ext
    generating cffi module 'build\\temp.win-amd64-3.7\\Release\\_bcrypt.c'
    creating build\temp.win-amd64-3.7
    creating build\temp.win-amd64-3.7\Release
    building '_bcrypt' extension
    error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

    ----------------------------------------
Command "C:\Users\mate\Anaconda3\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\mate\\AppData\\Local\\Temp\\pip-install-n67rf4zs\\bcrypt\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\mate\AppData\Local\Temp\pip-record-cwud9ljs\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\mate\AppData\Local\Temp\pip-install-n67rf4zs\bcrypt\
You are using pip version 10.0.1, however version 21.2.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
求助大佬!!{:5_111:}

nahongyan1997 发表于 2021-8-4 16:01:56

重装python解决80% 的问题,重装系统解决 99% 的问题,买台新的解决 100% 的问题。

惟爱你明天 发表于 2021-8-12 13:14:11

升级一下pip版本试试
页: [1]
查看完整版本: 关于easygui的安装问题