和py2py3共存的那篇随笔背景一样,还是新换了电脑,重装很多环境,记录一下

先安装 wheel 文件包

pip3 install wheel

 

再安装 gmpy2 所需要的 whl 文件,下载地址:https://www.lfd.uci.edu/~gohlke/pythonlibs/

whl 文件包需要和你所安装的 python3 版本一致,我是 python3.7 下载了这个

python3安装gmpy2

 

在 cmd 中输入以下命令完成安装,import 一下没有报错验证成功安装

pip3 install whl文件路径
pip3 install gmpy2

python3安装gmpy2

 

参考:

https://blog.csdn.net/qq_43302174/article/details/102933164?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task

 

相关文章:

  • 2021-09-13
  • 2022-02-17
  • 2022-12-23
  • 2021-11-25
  • 2021-12-04
  • 2022-01-11
  • 2021-11-17
猜你喜欢
  • 2021-10-08
  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
  • 2022-02-03
  • 2022-12-23
  • 2021-05-30
相关资源
相似解决方案