windows上错误:Could not find a version that satisfies the requirement torch==0.4.1

文章目录:

  • 一、问题
    • 1、错误问题的出现
    • 2、曲折道路
  • 二、错误解决方式

bug 气死人不偿命呀,麻蛋,真的是要被搞死呀,本来就是一个很小的问题,可能就是需要一分钟就能够搞定的问题,非得让你搞一两天都搞不定,你不搞也不行,下一步就没法进行,你搞吧这个时间一分一秒的流逝,还搞不出一个名堂!FK!!!


一、问题

1、错误问题的出现

首先声明:我这个错误是我要安装的版本确实是存在的,但是pip在安装的时候说找不到!!!
我是想通过pip安装指定版本的torch==0.4.1然后就报错啦
安装方式

pip install torch==0.4.1

然后报错如下:

大家可以看到,这里显示的结果并没有我需要的0.4.1版本呀,不科学呀,就算没有这个版本也不可能只有这三个版本呀,无奈呀,只能先网上搜索一番。

网上给出的错误解决方法:
更新pip的版本

python -m pip install --upgrade pip
或者更新到指定版本
python -m pip install pip==10.0.0

但是对于对于我来说然并卵!

2、曲折道路

后面我就想到去Pypi(官网)看一下到底有没有torch==0.4.1版本的存货,如下:

然后还有好多其他的版本,最终要的是确实有0.4.1版本的存货,为什么告诉我没有,这生意是不想做了吗?

而且提示可以用pip进行安装:

此时的我真的是欲哭无泪,但是咱也不能够放弃呀,心想不卖那咱就自己动手,于是乎我又想到直接下载whl库包,然后再进行安装,内心窃喜,还好天无绝人之路。

正当你心怀一丝希望的时候,你突然发现上帝不仅为你关上了一扇门,还为你关上了一扇窗!!!关的死死的!!!

为什么,为什么,为什么,为什么只有Linux和MaxOS版本,Windows版本去哪里了,我查看了一下其他的几个版本,有同样没有Windows版本的whl安装包!

二、错误解决方式

心累啦!

最后关于错误的解决方式是通过Pytorch官网下载指定的版本,命令如下(在冰冷的黑夜中,我用灵魂去寻找torch==0.4.1的方向):

pip install torch==0.4.1 -f https://download.pytorch.org/whl/torch_stable.html

我以前在Linux确实用pip install torch==0.4.1是没有问题的,咱也不知道这是为啥,终归是算是解决了吧

如果你也遇到同样的问题,不要问我为什么,我不知道,不知道,不知道!!!

此致
敬礼

Fuck!!!




♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠ ⊕ ♠

windows上报错:Could not find a version that satisfies the requirement torch==0.4.1相关推荐

  1. Python在使用pip安装某个库时报错 Could not find a version that satisfies the requirement numpy

    问题描述:Python中在使用pip的下述命令安装第三方库numpy pip install -U numpy -i http://mirrors.aliyun.com/pypi/simple 出现警 ...

  2. Could not find a version that satisfies the requirement pox=0.2.6 (from pathos)

    Could not find a version that satisfies the requirement pox>=0.2.6 (from pathos) pip install path ...

  3. pip安装torch错误ERROR: Could not find a version that satisfies the requirement torch及解决办法

    使用pip安装PyTorch时报如下错误: ERROR: Could not find a version that satisfies the requirement torch>=1.6.0 ...

  4. python3 pip3 安装包报错 Could not find a version that satisfies the requirement 解决方法

    现象: [root@e45b79f0cd70 Python-3.9.0]# pip3 install pycryptodome Looking in indexes: https://pypi.dou ...

  5. pip安装包报错Could not find a version that satisfies the requirement pymysql (from versions: none)

    使用python自带的pip安装包时,可能会报以下错误: ERROR: Could not find a version that satisfies the requirement pymysql ...

  6. 使用pip安装pytorch失败,报错如下Could not find a version that satisfies the requirement torch

    使用pip安装pytorch 写一个文章记录一下安装过程.最近要新装一个anaconda环境用来跑代码,需要安装一些依赖包. 先使用github作者给的安装方法: pip install -r req ...

  7. 关于Could not find a version that satisfies the requirement报错的解决方案

    在使用python的pip命令安装各类package时,命令运行后会分3次返回警告类信息: Retrying (Retry(total=4, connect=None, read=None, redi ...

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

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

  9. 【错误记录】Python 安装依赖库报错 ( ERROR: Could not find a version that satisfies the requirement elftools )

    文章目录 一.报错信息 二.解决方案 一.报错信息 报错信息 : ERROR: Could not find a version that satisfies the requirement elft ...

最新文章

  1. 菜鸟要做架构师(一)——如何快速开发中小型系统
  2. MySQL 索引和 SQL 调优手册
  3. CyclicBarrier及CountDownLatch的使用
  4. C语言试题四十之使字符串中尾部的*号不得多于n个;若多于n个,则删除多于的*号;若少于或等于n个,则什么也不做,字符串中间和前面的*号不删除。
  5. C++读取文本文件中以TAB作为分隔符,且中间字段有为空的情况的方法?
  6. jquery 判断控件css样式,jQuery获取并设置CSS类
  7. 什么是HOOK功能?
  8. 微软超融合私有云测试11-SCVMM2016部署之添加Hyper-V集群
  9. vue基础之data
  10. 基于JAVA+Spring+MYSQL的报名系统
  11. Win10下VB6.0开发之串口通信基础(二)代码功能篇
  12. 行为型模式——模板方法模式
  13. Win10 打开MSDTC
  14. c语言悔棋用栈,中国象棋人机博弈程序(扁平化棋局) C语言实现
  15. mysql服务端获取数据乱码_mysql客户端数据乱码问题
  16. 菜刀php教程,中国菜刀的功能介绍和使用方法(黑站利器与后门利用测试工具)
  17. 失传千年AE特效真经(一)
  18. boost:assert
  19. mysql字符集乱码问题_解决mysql字符集乱码问题
  20. Trojan.Win32.Agent.vti的查杀举例

热门文章

  1. 第三课 弹性盒模型知识点
  2. Funambol Developer#39;s Guide 中 connector development样例的问题
  3. 一个关于异步的纠结问题
  4. Aduna ClusterMap 的说明
  5. 给python初学者的最好练手项目-Python的练手项目有哪些值得推荐?(知乎转载)...
  6. python常用命令汇总-python数据分析之pandas常用命令整理
  7. python绘制灰度图片直方图-opencv+python 统计及绘制直方图
  8. python 命令-Python中执行系统命令的四种方法
  9. python画图-python画图汇总(持续更新)
  10. python翻译程序-Python桌面应用案例:TXT文档翻译工具(源代码)