lundi 13 février 2017

Unable to deploy CVXOPT with Python Buildpack on Cloud Foundry

Vote count: 0

I am unable to deploy CVXOPT package into Linux environment. I am on Python 3.6.0. and using standard python buildpacks (http://ift.tt/2lJjo3F) which I am trying to deploy on Clound Foundry for my IBM Bluemix app.

Are there any special buildpacks for this or CVXOPT cannot be working on Cloud Foundry? Thank you a lot!

This is the error output when deploying:

2/14/2017 2:48:06 AM    OUT STG Running setup.py install for cvxopt: started

2/14/2017 2:48:20 AM    OUT STG Running setup.py install for cvxopt: finished with status 'error'

2/14/2017 2:48:20 AM    OUT STG Complete output from command /app/.heroku/python/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-pgi7qybb/cvxopt/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-6vk81aol-record/install-record.txt --single-version-externally-managed --compile:

2/14/2017 2:48:20 AM    OUT STG running install

2/14/2017 2:48:20 AM    OUT STG running build

2/14/2017 2:48:20 AM    OUT STG creating build

2/14/2017 2:48:20 AM    OUT STG creating build/lib.linux-x86_64-3.5/cvxopt

2/14/2017 2:48:20 AM    OUT STG copying src/python/cvxprog.py -> build/lib.linux-x86_64-3.5/cvxopt

2/14/2017 2:48:20 AM    OUT STG copying src/python/__init__.py -> build/lib.linux-x86_64-3.5/cvxopt

2/14/2017 2:48:20 AM    OUT STG copying src/python/_version.py -> build/lib.linux-x86_64-3.5/cvxopt

2/14/2017 2:48:20 AM    OUT STG copying src/python/printing.py -> build/lib.linux-x86_64-3.5/cvxopt

2/14/2017 2:48:20 AM    OUT STG UPDATING build/lib.linux-x86_64-3.5/cvxopt/_version.py

2/14/2017 2:48:20 AM    OUT STG set build/lib.linux-x86_64-3.5/cvxopt/_version.py to '1.1.9'

2/14/2017 2:48:20 AM    OUT STG running build_ext

2/14/2017 2:48:20 AM    OUT STG building 'base' extension

2/14/2017 2:48:20 AM    OUT STG creating build/temp.linux-x86_64-3.5/src

2/14/2017 2:48:20 AM    OUT STG gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/app/.heroku/python/include/python3.5m -c src/C/dense.c -o build/temp.linux-x86_64-3.5/src/C/dense.o

2/14/2017 2:48:20 AM    OUT STG gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/app/.heroku/python/include/python3.5m -c src/C/sparse.c -o build/temp.linux-x86_64-3.5/src/C/sparse.o

2/14/2017 2:48:20 AM    OUT STG src/C/sparse.c: In function ‘sparse_concat’:

2/14/2017 2:48:20 AM    OUT STG src/C/sparse.c:368:30: warning: variable ‘blk_ncols’ set but not used [-Wunused-but-set-variable]

2/14/2017 2:48:20 AM    OUT STG int_t blk_nrows = 0, blk_ncols = 0;

2/14/2017 2:48:20 AM    OUT STG gcc -pthread -shared build/temp.linux-x86_64-3.5/src/C/base.o build/temp.linux-x86_64-3.5/src/C/dense.o build/temp.linux-x86_64-3.5/src/C/sparse.o -L/usr/lib -L/app/.heroku/vendor/lib -lm -llapack -lblas -lpython3.5m -o build/lib.linux-x86_64-3.5/cvxopt/base.cpython-35m-x86_64-linux-gnu.so

2/14/2017 2:48:20 AM    OUT STG gcc -pthread -shared build/temp.linux-x86_64-3.5/src/C/blas.o -L/usr/lib -L/app/.heroku/vendor/lib -lblas -lpython3.5m -o build/lib.linux-x86_64-3.5/cvxopt/blas.cpython-35m-x86_64-linux-gnu.so

2/14/2017 2:48:20 AM    OUT STG gcc -pthread -shared build/temp.linux-x86_64-3.5/src/C/lapack.o -L/usr/lib -L/app/.heroku/vendor/lib -llapack -lblas -lpython3.5m -o build/lib.linux-x86_64-3.5/cvxopt/lapack.cpython-35m-x86_64-linux-gnu.so

2/14/2017 2:48:20 AM    OUT STG src/C/umfpack.c:23:21: fatal error: umfpack.h: No such file or directory

2/14/2017 2:48:20 AM    OUT STG #include "umfpack.h"

2/14/2017 2:48:20 AM    OUT STG ^

2/14/2017 2:48:20 AM    OUT STG 

2/14/2017 2:48:20 AM    OUT STG ----------------------------------------

2/14/2017 2:48:21 AM    ERR STG Command "/app/.heroku/python/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-pgi7qybb/cvxopt/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-6vk81aol-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-pgi7qybb/cvxopt/

2/14/2017 2:48:21 AM    ERR STG Failed to compile droplet

2/14/2017 2:48:21 AM    ERR STG Staging failed: Exited with status 223

2/14/2017 2:48:21 AM    OUT STG Destroying container

asked 28 secs ago

Let's block ads! (Why?)



Unable to deploy CVXOPT with Python Buildpack on Cloud Foundry

Aucun commentaire:

Enregistrer un commentaire