国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 開發設計 > 正文

Pythonpip–error:invalidcommand‘bdist_wheel’

2019-11-14 17:03:18
字體:
來源:轉載
供稿:網友
原文@http://software-engineer.gatsbylee.com/python-pip-error-invalid-command-bdist_wheel/

Python pip – error: invalid command ‘bdist_wheel’

環境

  • python-setuptools 0.6.10 from CentOS 6 Base
  • pip 7.1.0 from https://bootstrap.pypa.io/get-pip.py
  • python 2.6

問題?

When I install python modules, such ans Flask, SQLAlchemy, etc., I got this error “error: invalid command ‘bdist_wheel'”.

原因?

This is compatibility issue between pip and setuptools.

The python-setuptool 0.6.10 from CentOS 6 uses python module, setuptools.

from setuptools import setup

However, the pip 7.1.0 expects that the installed python setuptool module use distutils.core.

from distutils.core import setup

 解決方案?

There could be two apPRoaches.

1. using the pip packages from CentOS 6 which is 1.3.1.

$ python -m pip uninstall pip setuptools$ yum install python-pip python-setuptools

2. upgrading python setuptool module

$pip install setuptools --upgrade

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 包头市| 临桂县| 安远县| 松滋市| 荔浦县| 灵武市| 郸城县| 镇远县| 宜城市| 遂川县| 衡阳市| 汶上县| 武定县| 宝兴县| 广宁县| 高尔夫| 桦甸市| 探索| 剑川县| 克东县| 福建省| 柏乡县| 北碚区| 峨边| 桂阳县| 房山区| 溆浦县| 常熟市| 常宁市| 潜山县| 乌兰浩特市| 扎赉特旗| 玉门市| 防城港市| 泸定县| 九台市| 梓潼县| 弥勒县| 波密县| 沾益县| 彰武县|