2017-04-20 112 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