[Python] Errore nell'installare lxml su virtualenv
Karim
lemieliste a gmail.com
Mer 18 Dic 2013 12:58:32 CET
Ciao lista. Sto sbattendo la testa su lxml, sto cercando di installarlo, ma
mi da errore.
In realtà io devo installare "nikola" il generatore statico di blog quindi
creo una virtualenv e poi:
$ pip install nikola
Ecco l'errore: (ultime righe del log)
x86_64-linux-gnu-gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 4
----------------------------------------Cleaning up...Command
/home/karim/envs/gorjux/bin/python -c "import
setuptools;__file__='/home/karim/envs/gorjux/build/lxml/setup.py';exec(compile(open(__file__).read().replace('\r\n',
'\n'), __file__, 'exec'))" install --record
/tmp/pip-SWamNy-record/install-record.txt
--single-version-externally-managed --install-headers
/home/karim/envs/gorjux/include/site/python2.7 failed with error code 1 in
/home/karim/envs/gorjux/build/lxmlTraceback (most recent call last):
File "/home/karim/envs/gorjux/bin/pip", line 9, in <module>
load_entry_point('pip==1.4.1', 'console_scripts', 'pip')()
File
"/home/karim/envs/gorjux/local/lib/python2.7/site-packages/pip/__init__.py",
line 148, in main return command.main(args[1:], options)
File
"/home/karim/envs/gorjux/local/lib/python2.7/site-packages/pip/basecommand.py",
line 169, in main
text = '\n'.join(complete_log)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 39:
ordinal not in range(128)
###################
Distro: Ubuntu 13.10 (solo console)
Versione di python: 2.7.5
Ho verificato che i seguenti pacchetti siano installati: libxml2-dev
libxslt-dev libxslt1-dev python-dev
Avete dei suggerimenti?
--
Karim Gorjux
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lists.python.it/pipermail/python/attachments/20131218/ffbfee9d/attachment.html>
Maggiori informazioni sulla lista
Python