2017-04-20 111 views
0

進出口安裝dm.xmlsec.binding試圖安裝python-SAML到最新的亞馬遜Linux的Elasticbeanstalk(運行的Python 2.7 64位Linux的亞馬遜2016.09 v2.3.3)麻煩亞馬遜的Linux

當試圖安裝DM。 xmlsec.binding它失敗

Running setup.py (path:/tmp/pip-build-5dg8_B/dm.xmlsec.binding/setup.py) egg_info for package dm.xmlsec.binding 
Running command python setup.py egg_info 
Complete output from command python setup.py egg_info: 
{standard input}: Assembler messages: 
{standard input}:26237: Warning: end of file not at end of a line; newline inserted 
{standard input}:26953: Error: unknown pseudo-op: `.l' 
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive 
gcc: Internal error: Killed (program cc1) 
Please submit a full bug report. 
See <http://bugzilla.redhat.com/bugzilla> for instructions. 
Building lxml version 3.7.3. 
Building without Cython. 
Using build configuration of libxslt 1.1.28 
Building against libxml2/libxslt in the following directory: /usr/lib64 
Compile failed: command 'gcc' failed with exit status 1 

在Ubuntu上沒有任何問題16.04

+1

您可能需要升級到最新的Amazon Linux AMI(2017.03)並重試;通常'unknown pseudo-op:'錯誤意味着你的工具鏈太舊了。 –

+0

目前不適用於EB –

回答

0

升級LXML固定問題

sudo pip install lxml --upgrade