2014-01-12 3 views
2

Согласно странице сообщества панды (http://pandas.pydata.org/community.html), я отправляю здесь первый ...Установка панд не будет работать на Ubuntu 12,04

Я пытаюсь установить панду с помощью пипа, в виртуальной среду на удаленном сервере ванильного работает Ubuntu 12.04.3 (64 бит). Я уже установил обычных подозреваемых (python-dev (2.7), numpy, scipy). Pandas не устанавливается, и я точно не знаю, что изменить или добавить, чтобы это произошло.

Я видел другие ссылки (не с той же ошибкой), подразумевающие, что память может быть проблемой; удаленный сервер (капелька Digital Ocean) имеет только 512 МБ.

Хвост пип журнал ошибок приведен ниже:

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.6/README.Bugs> for instructions. 

error: command 'gcc' failed with exit status 4 

---------------------------------------- 

Command /srv/tp/venv/bin/python -c "import setuptools;__file__='/srv/tp/venv/build/pandas/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-0bOHrG-record/install-record.txt --install-headers /srv/tp/venv/include/site/python2.7 failed with error code 1 in /srv/tp/venv/build/pandas 

Exception information: 
Traceback (most recent call last): 
    File "/srv/tp/venv/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/basecommand.py", line 104, in main 
    status = self.run(options, args) 
    File "/srv/tp/venv/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/commands/install.py", line 250, in run 
    requirement_set.install(install_options, global_options) 
    File "/srv/tp/venv/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 1133, in install 
    requirement.install(install_options, global_options) 
    File "/srv/tp/venv/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 577, in install 
    cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False) 
    File "/srv/tp/venv/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/__init__.py", line 256, in call_subprocess 
    % (command_desc, proc.returncode, cwd)) 
InstallationError: Command /srv/tp/venv/bin/python -c "import setuptools;__file__='/srv/tp/venv/build/pandas/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-0bOHrG-record/install-record.txt --install-headers /srv/tp/venv/include/site/python2.7 failed with error code 1 in /srv/tp/venv/build/pandas 

ответ

4

Самый безопасный путь, хотя это просто: Sudo APT-получить установку питона-панд

+0

Спасибо, это работает для меня. –

Смежные вопросы