pip不能安装websocket-server python packge

我在我的docker容器里面,它运行centos6.6.1,似乎无法安装python包websocket-server。

pip install websocket-server Could not find a version that satisfies the requirement websocket-server (from versions: ) 

我设法解决了这个问题,使用下面的命令:

 pip install git+http://github.com/Pithikos/python-websocket-server 

但我不喜欢为了安装软件包而克隆回购。 任何想法,我可以避免这个工作,并得到第一个点安装工作?

我有与python包influxdb相同的问题!

首先你需要在setuptools里面做的是升级pipsetuptools包:

 pip install -U setuptools pip 

在virtualenv里面做(如果你使用的话)。

Interesting Posts