在此平台上不受支持的车轮 [英] whl is not a supported wheel on this platform

查看:116
本文介绍了在此平台上不受支持的车轮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是python的新手,正在尝试使用.whl文件安装某些模块/软件包.该系统无法访问互联网,因此一切都在本地.

I am new to python, and am trying to install some modules/packages using .whl file. The system does not have access to the internet so everything is local.

  • 我正在运行RHEL 6.9 64位2.6.32-696.10.1.el6.x86_64
  • Python是2.7.12版(与2.6一起安装)

  • I'm running RHEL 6.9 64bit 2.6.32-696.10.1.el6.x86_64
  • Python is version 2.7.12 (altinstalled with 2.6)

platform.architecture() ("64bit","ELF")

platform.architecture() ('64bit', 'ELF')

我正在运行pip 9.0.1

I'm running pip 9.0.1

尝试安装numpy:

# /usr/local/bin/pip2.7 install numpy-1.13.3-cp27-cp27m-manylinux1_x86_64.whl
numpy-1.13.3-cp27-cp27m-manylinux1_x86_64.whl is not a supported wheel on this platform.

那我想念什么?

推荐答案

cp27-cp27m许多Linux软件包与使用--enable-unicode=ucs2编译的Python解释器兼容.

cp27-cp27m manylinux packages are compatible with a Python interpreter compiled with --enable-unicode=ucs2.

对于使用--enable-unicode=ucs4编译的解释器,您需要cp27-cp27mu软件包.

For an interpreter compiled with --enable-unicode=ucs4, you instead need cp27-cp27mu packages.

这篇关于在此平台上不受支持的车轮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆