尝试安装cassandra ccm时出现UnicodeDecodeError

时间:2016-07-08 08:32:44

标签: linux cassandra pip ccm

我尝试使用Cassandra ccmLinuxArch Linux 2015.02)上安装pip install ccm,但出现以下错误:

Collecting ccm
Using cached ccm-2.1.11.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-build-0k62pp2z/ccm/setup.py", line 21, in <module>
    long_description=open(abspath(join(dirname(__file__), 'README.md'))).read(),
  File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3897: ordinal not in range(128)

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-0k62pp2z/ccm/

如何解决此问题?

更新

根据ziky的评论指出,可以使用ccm安装pip2

0 个答案:

没有答案