【已解决】安装pyleus遇到的'bdist_wheel'错误
来源:互联网 发布:mac阿呆猫 编辑:程序博客网 时间:2024/05/16 05:11
今天用pip命令安装pyleus时遇到以下错误
Failed building wheel for PyYAML
Running setup.py bdist_wheel for msgpack-python
Complete output from command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-685OEx/msgpack-python/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpUJDHTSpip-wheel-:
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'bdist_wheel'
查了下bdist_wheel,发现似乎是pip的一个子命令,wheel本质上是一种zip包,用于py模块的安装,它的出现时为了替代Eggs。
尝试运行pip wheel,果然有告错
ERROR: 'pip wheel' requires setuptools >= 0.8 for dist-info support. To fix this, run: pip install --upgrade setuptools
于是根据它的建议,升级pip的安装工具setuptools ,命令是
sudo pip install --upgrade setuptools
再试,出现如下信息
[linyc@localhost etc]$ pip wheel
You are using pip version 7.1.0, however version 7.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
You must give at least one requirement to wheel (see "pip help wheel")
我不确定pip本身升级是不是必要,读者可以试一试不升级而直接安装pyleus
升级pip完毕,尝试pip安装pyleus,啊,提示已存在。那么先uninstall,再安装
一阵等待……后,ok搞定
Failed building wheel for PyYAML
Running setup.py bdist_wheel for msgpack-python
Complete output from command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-685OEx/msgpack-python/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpUJDHTSpip-wheel-:
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'bdist_wheel'
查了下bdist_wheel,发现似乎是pip的一个子命令,wheel本质上是一种zip包,用于py模块的安装,它的出现时为了替代Eggs。
尝试运行pip wheel,果然有告错
ERROR: 'pip wheel' requires setuptools >= 0.8 for dist-info support. To fix this, run: pip install --upgrade setuptools
于是根据它的建议,升级pip的安装工具setuptools ,命令是
sudo pip install --upgrade setuptools
再试,出现如下信息
[linyc@localhost etc]$ pip wheel
You are using pip version 7.1.0, however version 7.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
You must give at least one requirement to wheel (see "pip help wheel")
我不确定pip本身升级是不是必要,读者可以试一试不升级而直接安装pyleus
升级pip完毕,尝试pip安装pyleus,啊,提示已存在。那么先uninstall,再安装
一阵等待……后,ok搞定
0 0
- 【已解决】安装pyleus遇到的'bdist_wheel'错误
- ubuntu 14.04遇到“已安装的 post-installation 脚本 返回了错误号 127 ”问题的解决
- 安装coreseek遇到的错误解决
- Windows已找到设备的驱动程序软件,但在试图安装它时遇到错误怎么解决
- [已解决]讯飞集成的时候遇到“组件未安装.(错误码:21002)”,couldn't find "libmsc.so"
- Lua安装csvigo时报找不到的错误[已解决]
- 安装SQL Server 遇到错误提示的解决
- Mac 中安装titanium 遇到的错误解决
- CentOS7 安装PyQt5中遇到的错误及解决
- DataBinding遇到的问题,已解决
- 更新 apk 遇到错误“已安装存在签名冲突***”
- eclipse中安装CDT遇到问题 --已解决
- 安装MicrosoftOfficeProfessionalPlus2007和sqlserver时,遇到这个问题,已解决
- 录制时的IE错误(已解决)
- [已解决] Android MediaPlayer 的一个错误
- 安装WordPress遇到的错误
- qt安装遇到的错误
- 安装VirtualBox遇到的错误
- 怎样安装haskell
- 《学习日记》CSS的盒子模型
- android开发中虚拟键盘的设置参数列表
- VisionMobile:开发者经济报告2015 Q3(五):每朵云都有亮点,但它们并不都是光明
- 计算结构体的大小
- 【已解决】安装pyleus遇到的'bdist_wheel'错误
- 为什么RIME无线抄水表,电池可以一次性工作12年
- Visual Studio 2015专业版创建Win32控制台应用程序,C,C++源文件
- 将Spark源码中的Logging类移植到自己的项目中
- git常见问题官方地址
- git bash 操作 从github上pull代码再从客户端push上去
- 内存管理:_CrtDumpMemoryLeaks和_CrtSetBreakAlloc
- Semaphore
- Python 拉丁超立方采样