fxsjy / jieba

结巴中文分词
MIT License
33.16k stars 6.72k forks source link

Failed building wheel for jieba #319

Open tanteng opened 8 years ago

tanteng commented 8 years ago

成功安装,但是报错信息Failed building wheel for jieba,可能是这个错误的原因,jieba模块不能正常运行

gumblex commented 8 years ago

给详细日志啊

tanteng commented 8 years ago

D:\learn-python>pip install jieba Collecting jieba Using cached jieba-0.37.zip Building wheels for collected packages: jieba Running setup.py bdist_wheel for jieba Complete output from command c:\users\administrator\appdata\local\programs\python\python35-32\python.exe -c "import setuptools;file='C:\Users\ADMINI~1\AppData\Local\Temp\pip-build-ibpo4da7\j ieba\setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" bdist_wheel -d C:\Users\ADMINI~1\AppData\Local\Temp\tmpf6wrfjs2pip-wheel-: Traceback (most recent call last): File "", line 1, in UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 100: illegal multibyte sequence


Failed building wheel for jieba Failed to build jieba Installing collected packages: jieba Running setup.py install for jieba Successfully installed jieba-0.37 给这个你看行不行

gumblex commented 8 years ago

感觉是 pip 的锅:终端是 GBK 编码,setup.py 是 UTF-8,然后读入直接运行 你的运行环境是什么?(我打算去报 bug)

tanteng commented 8 years ago

windows7 64位系统

D:\learn-python>python --version Python 3.5.0

tanteng commented 8 years ago

这个现在有解决方案吗