3
我按照以下步驟在AWS微型實例中安裝熊貓(他的平臺是Amazon Linux)。我SSH到AWS實例並運行下面的命令來安裝依賴關係。在AWS中安裝熊貓時出錯
$sudo yum install gcc
$sudo yum install gcc-c++
$ sudo pip install numpy
$ sudo yum install python-devel
$ sudo yum install pytz
我得到如下錯誤
pandas/src/klib/khash_python.h:49:1: note: in expansion of macro ‘KHASH_MAP_INIT_STR’
KHASH_MAP_INIT_STR(strbox, kh_pyobject_t)
^
{standard input}: Assembler messages:
{standard input}:107066: Warning: end of file not at end of a line; newline inserted
{standard input}:107394: Error: number of operands mismatch for `mov'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
error: command 'gcc' failed with exit status 4
----------------------------------------
Command "/usr/bin/python2.7 -c "import setuptools, tokenize;__file__='/tmp/pip-build-YJi1l7/pandas/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-9dXSKp-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-YJi1l7/pandas
你使用什麼AMI?這是非常重要的信息。我在「Ubuntu Server 14.04 LTS(HVM),SSD Volume Type」上運行亞馬遜就好了。 – firelynx
該平臺是亞馬遜Linux aws-elasticbeanbean -alk-amzn-2015.03.0.x86_64-python27-pv 它是一個微型實例 –
我有同樣的問題。你有沒有找到任何解決方案@GeraldVarghese? – frogbandit