查询包依赖 conda search pageage_name --info

补充一下

@深海鱼

的答案。
1.step 1
我按照深海鱼的答案去做之后,还是不行。
cmd 运行 pip install filename.whl 还是报错, 提示:

lxml-3.7.1-cp27-cp27m-win32.whl is not a supported wheel on this platform.

2.step 2
然后我跑去stackoverflow搜到了这个答案:
filename.whl is not supported wheel on this platform

然后一哥们回答他遇到过同样的问题,然后升级 pip 完美解决。

python -m pip install --upgrade pip

3.step 3
然后我升级了 pip ,还是不行。
原因是我安装的是

lxml-3.7.1-cp27-cp27m-win_amd64.whl

然后继续从 step2 的 StackOverflow 的回答中找到了答案。有一哥们回答他遇到了一模一样的问题,pip也升级了,但是还是报错:

scipy-0.17.0-cp35-none-win_amd64.whl is not supported wheel on this platform

然后那哥们说:“realized that amd64 is not about my Windows, but about the Python version. Actually I am using a 32 bit Python on a 64 bit Windows. Installing the following file solved the issue(amd64跟系统无关,跟Python的版本有关系。虽然他的电脑是64位,但是他的Python版本是32位,于是他装了32位的.whl 文件,然后成功了):

scipy-0.17.0-cp35-none-win32.whl


4. step 4
于是我就按照他的做法,安装32位的,果然成功。如下:

D:\spider>pip install lxml-3.7.1-cp27-cp27m-win32.whl
Processing d:\spider\lxml-3.7.1-cp27-cp27m-win32.whl
Installing collected packages: lxml
Successfully installed lxml-3.7.1

-----------------------------------------------------------------以下无需理会------------------------------------------------------------------------------------

1.下载 https://www.lfd.uci.edu/~gohlke/pythonlibs/找到对应版本的whl文件

2.安装进入下载保存的路径: 输入pip install lxml-4.5.2-cp39-cp39-win_amd64.whl进行安装就可以了(安装前有时候先更新以下

1.PIP更新:python -m pip install --upgrade pip -i https://pypi.douban.com/simple

2.更新 setuptools :pip install --upgrade setuptools

3.安装wheel:python -m pip install wheel

)。

安装pip install lxml-4.5.2-cp39-cp39-win_amd64.whl 报一下错误

1.提示error :visual c++ 14.0

filename.whl is not supported wheel on this platform 部分第三方库无法安装的解决办法相关推荐

  1. Ubuntu安装tensorflow报错:tensorflow-xx.whl not a supported wheel on this platform

    解决Ubuntu安装tensorflow报错:tensorflow-0.5.0-cp27-none-linux_x86_64.whl is not a supported wheel on this ...

  2. python安装osgeo及shapefile库、is not a supported wheel on this platform 的问题

    安装shapefile库 其实是安装pyshp库 可以直接使用pip命令安装,这里使用豆瓣源. python -m pip install pyshp -i https://pypi.douban.c ...

  3. ERROR: torch-1.6.0+cu101-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform.

    目的:使用混合精度训练模型 方法:最新版pytorch1.6已封装进混合量化的模块,只需几句代码就可以提高batch size,速度会有非常大的提升. 安装pytorch: pip install t ...

  4. Python离线安装whl文件,xxx.wh1 is not a supported wheel on this platform

    0.问题 今天在安装 whl 文件的时候,由于电脑处于没有网络的情况,只能在有网络的电脑上下载好 whl 文件,导入之后进行离线安装 但是由于版本不匹配的问题.导致报如下的错误: ERROR:xxx. ...

  5. whl is not a supported wheel on this platform.解决办法

    1.问题描述 笔者用pip命令安装一个工具包时,报错: E:\anaconda3\Scripts>pip install VTK-8.2.0-cp38-cp38-win32.whl ERROR: ...

  6. ERROR: PyAudio-0.2.11-cp37-cp37m-win32.whl is not a supported wheel on this platform.问题解决方法

    ERROR: PyAudio-0.2.11-cp37-cp37m-win32.whl is not a supported wheel on this platform. 安装 PyAudio时出现的 ...

  7. ERROR: pyHook-1.5.1-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform.安装pyhook报错

    ERROR: pyHook-1.5.1-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform.安装pyhook报错 系统 ...

  8. pymatgen-2022.2.10-cp39-cp39-win_amd64.whl is not a supported wheel on this platform.

    pymatgen-2022.2.10-cp39-cp39-win_amd64.whl is not a supported wheel on this platform. 版本问题 pymatgen目 ...

  9. torch-0.4.1-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform.

    问题:torch-0.4.1-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform. 原因1:python 版本不对 原 ...

  10. ERROR: torch-1.12.0+cu116-cp38-cp38-win_amd64.whl is not a supported wheel on this platform.

    ERROR: torch-1.12.0+cu116-cp38-cp38-win_amd64.whl is not a supported wheel on this platform. 安装Pytor ...

最新文章

  1. SweetAlert2模态窗的使用
  2. asp.net学习之DataList控件
  3. 深入php内核一(概述)
  4. 最小生成树(prim算法)
  5. 【金三银四】微软java后端社招
  6. Qt在指定区域内拖动窗口
  7. 安装libsvm工具包
  8. 一线城市程序员平均工资11770元,你拖后腿了吗?
  9. 安装过mysql和p_MAC下安装与配置MySQL
  10. 主机电源供电端口-24PIN
  11. BZOJ 3654: [湖南集训]图样图森破 SA
  12. 小凯的疑惑(Noip 提高组 2017 d1 1)+[USACO4.1]麦香牛块Beef McNuggets
  13. win系统设置定时开机
  14. <aop:aspectj-autoproxy />AOP自动代理
  15. SVN提交(commit)时必须填写备注信息设置
  16. 如何批量制作准考证——《超级处理器》应用
  17. 电脑休眠、睡眠、待机的区别
  18. 2021 第十二届蓝桥杯 Java 省赛 B 组(第一场)真题解析
  19. 最终,还是没能成为吹牛逼的资本!(二)
  20. CAD梦想画图的浏览模式与绘图模式

热门文章

  1. 生产宕机dunp配置
  2. amazeui学习笔记--css(常用组件2)--面包屑导航Breadcrumb
  3. Codeforces Round #436 (Div. 2)
  4. Unity3d发布webplayer 部署到IIS
  5. 吸毒女5次搬家躲粉友:想给女儿干净环境
  6. android开发利用传感器实现微信的摇一摇功能(zz)
  7. CodeSmith学习笔记(一):设置属性为打开文件,保存文件
  8. leetcode刷题日记-leetcode刷题日记-71. 简化路径
  9. linux设置服务开机自启动
  10. Android studio打包遇到的问题总结