简体   繁体   English

在CentOS6下扭曲安装

[英]Install twisted under CentOS6

When I try to install a package, I have this error : 当我尝试安装软件包时,出现此错误:

Could not find a version that satisfies the requirement Twisted>=16.0.0 (from matrix-synapse==0.27.4) (from versions: ) No matching distribution found for Twisted>=16.0.0 (from matrix-synapse==0.27.4) 找不到满足Twisted> = 16.0.0的版本(来自矩阵突触== 0.27.4)(来自版本:)找不到适用于Twisted> = 16.0.0(来自matrix-synapse == 0.27)的匹配分布.4)

So I try to install Twisted : pip install twisted But I get this error : 所以我尝试安装Twisted:pip install twisted但是我得到这个错误:

Could not find a version that satisfies the requirement twisted (from versions: ) No matching distribution found for twisted 找不到满足扭曲要求的版本(来自版本:)找不到适合扭曲的匹配发行版

I'm working under CentOS6 and python2.7. 我正在CentOS6和python2.7下工作。

Use --verbose option with pip to see exact issue. 与pip一起使用--verbose选项可查看确切问题。

Sometimes pip unable to install twisted because of missing library called "libbz" 有时由于缺少名为“ libbz”的库而无法安装扭曲的点

you can install libbz by below commands. 您可以通过以下命令安装libbz。

yum install libbz2
yum install libbz2-devel

Also install bzip 同时安装bzip

yum install bzip2
yum install bzip2-devel

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM