目录

  • 此篇博客意在提出conda pycharm等安装库报错的解决方案。有以下情况的同学可以进行下面详细阅读:
  • 1. pyton各种库的下载地址:https://pypi.org/project/numpy/
  • 2. pip 离线安装python库
  • 3 pip安装报错 ERROR/winError[10061] ,由于目标计算机即将拒绝,无法连接时:
  • 4.python解压及安装.tar.gz文件

此篇博客意在提出conda pycharm等安装库报错的解决方案。有以下情况的同学可以进行下面详细阅读:

1.不知道从哪里找到python所需要安装的库。
2.不知道如何pip intall各种库
3.不知道如何解压及安装.tar.gz文件
4.不知道如何对安装时pip的报错进行 debug

1. pyton各种库的下载地址:https://pypi.org/project/numpy/

只需要把numpy 替换成你想要的库 然后粘贴到浏览器即可。画面如下:


在上述搜索栏也可搜索所需要的库名。 紧接着点击红色框里面的 Download files。

然后根据自己的安装需求下载.whl文件。如果没有找到想要的版本,则需要点击上图红色框中的Release history中继续寻找。

2. pip 离线安装python库

将下载好的 .whl文件 放置到anconda 任意一个文件夹,特别注意的是,如果cmd直接进入当前打开的文件夹 ,你需要按住shift +鼠标右击 然后点 在此处打开Powershell窗口进入当前路径。然后直接 键入 pip install xxxx.whl ,完成安装。

3 pip安装报错 ERROR/winError[10061] ,由于目标计算机即将拒绝,无法连接时:

当遇到离线安装出现 由于目标计算机即将拒绝,无法连接时 , 错误原因:当前安装库需要依赖库,而你没有安装
解决方案:1.链接网络 然后重试
2.对下图中红色报错的库进行安装 如下图, 白色框是你需要安装的库 红色框是你需要安装的版本号,此处为大于0.2.1都可以安装,将报错所需要安装的库 复制到上述下载地址即可立刻查找,安装方法与上面所讲的方法一直:下载.whl文件然后 pip install xx.whl

4.python解压及安装.tar.gz文件

首先,需要解压.tar.gz文件,然后将其放在任意文件下 找到setup.py 同样的方法打开所在文件路径的CMD 此时键入 python setup.py install 完成安装。

python离线安装环境 解决 ERROR: Could not find a version that satisfies the requirement xxx 以及winError[10061]相关推荐

  1. 解决 ERROR: Could not find a version that satisfies the requirement xxx 的问题

    解决 ERROR: Could not find a version that satisfies the requirement xxx 的问题 我们经常通过pip安装东西时常常会出现ERROR: ...

  2. pip安装出现ERROR: Could not find a version that satisfies the requirement xxx问题的解决办法

    转自:解决 ERROR: Could not find a version that satisfies the requirement xxx 的问题_JMU-HZH的博客-CSDN博客

  3. Python pip install 安装包报错ERROR: Could not find a version that satisfies the requirement XXX解决方法

    Python pip install 安装包报错ERROR: Could not find a version that satisfies the requirement XXX解决方法 文章目录 ...

  4. 成功解决ERROR: Could not find a version that satisfies the requirement xgboost (from versions: none) ERR

    成功解决ERROR: Could not find a version that satisfies the requirement xgboost (from versions: none) ERR ...

  5. ERROR: Could not find a version that satisfies the requirement XXX解决方法

    出现问题:ERROR: Could not find a version that satisfies the requirement XXX解决方法 找了很久终于找到能解决这种报错的方法了. 直接选 ...

  6. 解决Python安装pyqt5-tool出现的系列问题:ERROR: Could not find a version that satisfies the requirement xxx

    最近在做python GUI可视化编程项目,项目过程中需要使用PyQt5和QtTools资源包,因此需要使用pip install进行资源包的下载. 正常情况下安装资源包的命令如下: pip inst ...

  7. Python安装包报错ERROR: Could not find a version that satisfies the requirement XXX解决方法

    我们在使用 pip 安装 python 包时,经常会出现如下错误: ERROR: Could not find a version that satisfies the requirement xxx ...

  8. 解决 ERROR: Could not find a version that satisfies the requirement 的一种思路

    上次在Visual Studio Code安装yapf时,报错ERROR: Could not find a version that satisfies the requirement yapf. ...

  9. python 安装matplotlib error:could not find a version that satisfies the requirement xxx

    解决 ERROR: Could not find a version that satisfies the requirement xxx 的问题_JMU-HZH的博客-CSDN博客

  10. python pip下载本地依赖包,并在离线环境中安装,并解决报错ERROR: Could not find a version that satisfies the requirement报错

    文章目录 步骤1:导出依赖 步骤2:离线下载依赖包 步骤3:进入新环境使用python安装依赖 整体思路如下: 首先根据项目需要导出依赖包,由于本地的python环境中其实安装了很多乱七八糟的包,这些 ...

最新文章

  1. java拾遗录(一)
  2. Http请求报头设置(C#)
  3. C++|Java工作笔记-google protobuf基本使用
  4. 安装 Redis的Python客户端redis-py
  5. RocketMQ 源码之 异步和同步请求 以及异步的回调 是怎么做到的
  6. 远程数据采集传输---RTU设备
  7. php传奇发布站,传奇发布网站php源码
  8. Mystery——团队作业——系统设计
  9. codeforces1463 D. Pairs
  10. 【计算机视觉】一个简单易上手的图像分类任务pipeline代码
  11. 【单片机】Android手机USB外接STM32单片机通过ADB实现投屏反向控制的功能
  12. MISRA 2004 VS MISRA 2012
  13. Oracle 层级数据计算方式start with connect by
  14. Resistence gene identify
  15. 室内定位UWB在化工园区如何智能化管理
  16. stp rstp pvst mstp
  17. 阿里云设计团队为我们带来了「数字」+「设计」的可能……
  18. 上计算机课如何摆脱桌面控制,(信息老师必读)防止学生摆脱电子教室控制的方法、信息课怎样防止学生不受控制...
  19. 近红外(NIR)发光材料-量子点,近红外二区量子点荧光染料激发1000nm以上
  20. 机械制图及计算机绘图试题库,机械制图及计算机绘图试题库(下).doc

热门文章

  1. textbox++问题 汇总 如:assert len 0 builtin_function_or_method() int()
  2. 基于Java毕业设计新纪元大酒店管理系统源码+系统+mysql+lw文档+部署软件
  3. 数字电路与系统设计(一)
  4. 0基础学习3dmax游戏建模有这4个技巧
  5. 《交互设计沉思录》译序
  6. 继电保护原理3-输电线纵差
  7. 股票自动交易与自动交易软件
  8. python cms应用生成_Django:之ORM、CMS和二维码生成
  9. 360浏览器打开Axure
  10. IV 估计:工具变量不外生时也可以用!