Я пытаюсь установить seaborn на Ubuntu, и у меня есть все необходимые зависимости, которые уже доступны: Python 2.7, numpy, scipy, matplotlib и pandas. Когда я бегу pip install seaborn
я получаю следующее сообщение об ошибке:Ошибка установки на Seaborn
error: command 'gcc' failed with exit status 1
----------------------------------------
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/pandas/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-UFktoK-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/pandas
Traceback (most recent call last):
File "/usr/bin/pip", line 11, in <module>
sys.exit(main())
File "/usr/lib/python2.6/site-packages/pip/__init__.py", line 185, in main
return command.main(cmd_args)
File "/usr/lib/python2.6/site-packages/pip/basecommand.py", line 161, in main
text = '\n'.join(complete_log)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 43: ordinal not in range(128)
Я никогда не получал ошибку декодирования, прежде чем при установке питона пакетов. Любые мысли о том, что происходит?
EDIT: полная трассировка следа here.
Похоже, что у него есть не такие значения ASCII, как UTF8 – dlmeetei
Нельзя скомпилировать при установке самого морского обитателя, поэтому, возможно, он не работает на одном, если это зависимости (numpy, scipy, matplotlib или pandas). Однако невозможно определить, что произошло из предоставленной вами информации. – mwaskom
Основываясь на ошибке, похоже, что панды терпят неудачу. Помогает ли http://stackoverflow.com/questions/20555761/pip-install-pandas-gives-unicodedecodeerror-ascii-codec-cant-decode-byte-0? – whrrgarbl