鱼C论坛

 找回密码
 立即注册
查看: 531|回复: 2

关于easygui的安装问题

[复制链接]
发表于 2021-8-4 09:44:40 | 显示全部楼层 |阅读模式

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

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

x
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/p ... y2.py3-none-any.whl
Collecting bcrypt>=3.1.3 (from paramiko)
  Using cached https://files.pythonhosted.org/p ... 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/p ... 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.

求助大佬!!
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复

使用道具 举报

发表于 2021-8-4 16:01:56 | 显示全部楼层
重装python解决80% 的问题,重装系统解决 99% 的问题,买台新的解决 100% 的问题。
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2021-8-12 13:14:11 | 显示全部楼层
升级一下pip版本试试
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-10-8 08:28

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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