我尝试使用Cassandra ccm
在Linux
(Arch 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
。