Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (tutorial-env) [username]@CS:~$ git clone https://github.com/cvxgrp/cvxpy
- Cloning into 'cvxpy'...
- remote: Enumerating objects: 169, done.
- remote: Counting objects: 100% (169/169), done.
- remote: Compressing objects: 100% (124/124), done.
- remote: Total 58970 (delta 90), reused 75 (delta 41), pack-reused 58801
- Receiving objects: 100% (58970/58970), 168.74 MiB | 6.17 MiB/s, done.
- Resolving deltas: 100% (40842/40842), done.
- Checking connectivity... done.
- (tutorial-env) [username]@CS:~$ cd ~/cvxpy
- (tutorial-env) [username]@CS:~/cvxpy$ pip install -e .
- Obtaining file:///home/[username]/cvxpy
- Installing build dependencies ... done
- Getting requirements to build wheel ... done
- Preparing wheel metadata ... done
- Requirement already satisfied: numpy>=1.15 in /home/[username]/tutorial-env/lib/python3.6/site-packages (from cvxpy==1.1.7) (1.19.4)
- Requirement already satisfied: osqp>=0.4.1 in /home/[username]/tutorial-env/lib/python3.6/site-packages (from cvxpy==1.1.7) (0.6.1)
- Requirement already satisfied: ecos>=2 in /home/[username]/tutorial-env/lib/python3.6/site-packages (from cvxpy==1.1.7) (2.0.7.post1)
- Collecting scs>=1.1.6
- Using cached scs-2.1.2.tar.gz (3.5 MB)
- Requirement already satisfied: scipy>=1.1.0 in /home/[username]/tutorial-env/lib/python3.6/site-packages (from cvxpy==1.1.7) (1.5.4)
- Requirement already satisfied: future in /home/[username]/tutorial-env/lib/python3.6/site-packages (from osqp>=0.4.1->cvxpy==1.1.7) (0.18.2)
- Building wheels for collected packages: scs
- Building wheel for scs (setup.py) ... error
- ERROR: Command errored out with exit status 1:
- command: /home/[username]/tutorial-env/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-2yhxymp8/scs/setup.py'"'"'; __file__='"'"'/tmp/pip-install-2yhxymp8/scs/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-xrktv9lx
- cwd: /tmp/pip-install-2yhxymp8/scs/
- Complete output (115 lines):
- Namespace(blas64=False, extraverbose=False, float32=False, gpu=False, int32=False, scs=False)
- running bdist_wheel
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-3.6
- creating build/lib.linux-x86_64-3.6/scs
- copying src/__init__.py -> build/lib.linux-x86_64-3.6/scs
- running build_ext
- blas_mkl_info:
- NOT AVAILABLE
- blis_info:
- NOT AVAILABLE
- openblas_info:
- libraries = ['openblas', 'openblas']
- library_dirs = ['/usr/local/lib']
- language = c
- define_macros = [('HAVE_CBLAS', None)]
- blas_opt_info:
- libraries = ['openblas', 'openblas']
- library_dirs = ['/usr/local/lib']
- language = c
- define_macros = [('HAVE_CBLAS', None)]
- lapack_mkl_info:
- NOT AVAILABLE
- openblas_lapack_info:
- libraries = ['openblas', 'openblas']
- library_dirs = ['/usr/local/lib']
- language = c
- define_macros = [('HAVE_CBLAS', None)]
- lapack_opt_info:
- libraries = ['openblas', 'openblas']
- library_dirs = ['/usr/local/lib']
- language = c
- define_macros = [('HAVE_CBLAS', None)]
- {'libraries': ['openblas', 'openblas'], 'library_dirs': ['/usr/lib'], 'language': 'c', 'define_macros': [('HAVE_CBLAS', None)]}
- {'libraries': ['openblas', 'openblas'], 'library_dirs': ['/usr/lib'], 'language': 'c', 'define_macros': [('HAVE_CBLAS', None)]}
- src/scsmodule.c:1:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/include/scs.h:9:0,
- from scs/include/linalg.h:9,
- from scs/src/linalg.c:1:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/include/cones.h:8:0,
- from scs/src/cones.c:1:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/linsys/amatrix.h:8:0,
- from scs/linsys/amatrix.c:2:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/include/aa.h:11:0,
- from scs/src/aa.c:1:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/include/scs.h:9:0,
- from scs/linsys/external/amd/SuiteSparse_config.h:47,
- from scs/linsys/external/amd/amd.h:46,
- from scs/linsys/external/amd/amd_internal.h:154,
- from scs/linsys/external/amd/amd_valid.c:36:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/include/scs.h:9:0,
- from scs/src/scs.c:1:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/include/scs.h:9:0,
- from scs/linsys/external/amd/SuiteSparse_config.h:47,
- from scs/linsys/external/amd/amd.h:46,
- from scs/linsys/external/amd/amd_internal.h:154,
- from scs/linsys/external/amd/amd_order.c:15:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/include/scs.h:9:0,
- from scs/linsys/external/amd/SuiteSparse_config.h:47,
- from scs/linsys/external/amd/amd.h:46,
- from scs/linsys/external/amd/amd_internal.h:154,
- from scs/linsys/external/amd/amd_aat.c:18:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/include/scs.h:9:0,
- from scs/linsys/external/amd/SuiteSparse_config.h:47,
- from scs/linsys/external/amd/amd.h:46,
- from scs/linsys/external/amd/amd_internal.h:154,
- from scs/linsys/external/amd/amd_dump.c:16:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/include/scs.h:9:0,
- from scs/linsys/external/amd/SuiteSparse_config.h:47,
- from scs/linsys/external/amd/amd.h:46,
- from scs/linsys/external/amd/amd_internal.h:154,
- from scs/linsys/external/amd/amd_defaults.c:15:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/include/scs.h:9:0,
- from scs/linsys/external/amd/SuiteSparse_config.h:47,
- from scs/linsys/external/amd/amd.h:46,
- from scs/linsys/external/amd/amd_internal.h:154,
- from scs/linsys/external/amd/amd_info.c:15:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/linsys/external/qdldl/qdldl_types.h:4:0,
- from scs/linsys/external/qdldl/qdldl.h:5,
- from scs/linsys/external/qdldl/qdldl.c:1:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/include/scs.h:9:0,
- from scs/linsys/external/amd/SuiteSparse_config.h:47,
- from scs/linsys/external/amd/amd.h:46,
- from scs/linsys/external/amd/amd_internal.h:154,
- from scs/linsys/external/amd/amd_postorder.c:13:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- error: Command "x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYTHON -DCTRLC=1 -DDLONG=1 -DCOPYAMATRIX -DUSE_LAPACK -DHAVE_CBLAS -DHAVE_CBLAS -Iscs/include -Iscs/linsys -Iscs/linsys/cpu/direct/ -Iscs/linsys/external/amd -Iscs/linsys/external/dqlql -I/home/[username]/tutorial-env/lib/python3.6/site-packages/numpy/core/include -I/home/[username]/tutorial-env/include -I/usr/include/python3.6m -c src/scsmodule.c -o build/temp.linux-x86_64-3.6/src/scsmodule.o -O3" failed with exit status 1
- ----------------------------------------
- ERROR: Failed building wheel for scs
- Running setup.py clean for scs
- Failed to build scs
- Installing collected packages: scs, cvxpy
- Running setup.py install for scs ... error
- ERROR: Command errored out with exit status 1:
- command: /home/[username]/tutorial-env/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-2yhxymp8/scs/setup.py'"'"'; __file__='"'"'/tmp/pip-install-2yhxymp8/scs/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-record-yr_7wj14/install-record.txt --single-version-externally-managed --compile --install-headers /home/[username]/tutorial-env/include/site/python3.6/scs
- cwd: /tmp/pip-install-2yhxymp8/scs/
- Complete output (115 lines):
- Namespace(blas64=False, extraverbose=False, float32=False, gpu=False, int32=False, scs=False)
- running install
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-3.6
- creating build/lib.linux-x86_64-3.6/scs
- copying src/__init__.py -> build/lib.linux-x86_64-3.6/scs
- running build_ext
- blas_mkl_info:
- NOT AVAILABLE
- blis_info:
- NOT AVAILABLE
- openblas_info:
- libraries = ['openblas', 'openblas']
- library_dirs = ['/usr/local/lib']
- language = c
- define_macros = [('HAVE_CBLAS', None)]
- blas_opt_info:
- libraries = ['openblas', 'openblas']
- library_dirs = ['/usr/local/lib']
- language = c
- define_macros = [('HAVE_CBLAS', None)]
- lapack_mkl_info:
- NOT AVAILABLE
- openblas_lapack_info:
- libraries = ['openblas', 'openblas']
- library_dirs = ['/usr/local/lib']
- language = c
- define_macros = [('HAVE_CBLAS', None)]
- lapack_opt_info:
- libraries = ['openblas', 'openblas']
- library_dirs = ['/usr/local/lib']
- language = c
- define_macros = [('HAVE_CBLAS', None)]
- {'libraries': ['openblas', 'openblas'], 'library_dirs': ['/usr/lib'], 'language': 'c', 'define_macros': [('HAVE_CBLAS', None)]}
- {'libraries': ['openblas', 'openblas'], 'library_dirs': ['/usr/lib'], 'language': 'c', 'define_macros': [('HAVE_CBLAS', None)]}
- src/scsmodule.c:1:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/include/cones.h:8:0,
- from scs/src/cones.c:1:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/include/scs.h:9:0,
- from scs/include/linalg.h:9,
- from scs/src/linalg.c:1:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/linsys/amatrix.h:8:0,
- from scs/linsys/amatrix.c:2:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/include/aa.h:11:0,
- from scs/src/aa.c:1:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/include/scs.h:9:0,
- from scs/src/scs.c:1:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/include/scs.h:9:0,
- from scs/linsys/external/amd/SuiteSparse_config.h:47,
- from scs/linsys/external/amd/amd.h:46,
- from scs/linsys/external/amd/amd_internal.h:154,
- from scs/linsys/external/amd/amd_valid.c:36:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/include/scs.h:9:0,
- from scs/linsys/external/amd/SuiteSparse_config.h:47,
- from scs/linsys/external/amd/amd.h:46,
- from scs/linsys/external/amd/amd_internal.h:154,
- from scs/linsys/external/amd/amd_aat.c:18:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/include/scs.h:9:0,
- from scs/linsys/external/amd/SuiteSparse_config.h:47,
- from scs/linsys/external/amd/amd.h:46,
- from scs/linsys/external/amd/amd_internal.h:154,
- from scs/linsys/external/amd/amd_order.c:15:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/include/scs.h:9:0,
- from scs/linsys/external/amd/SuiteSparse_config.h:47,
- from scs/linsys/external/amd/amd.h:46,
- from scs/linsys/external/amd/amd_internal.h:154,
- from scs/linsys/external/amd/amd_dump.c:16:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/include/scs.h:9:0,
- from scs/linsys/external/amd/SuiteSparse_config.h:47,
- from scs/linsys/external/amd/amd.h:46,
- from scs/linsys/external/amd/amd_internal.h:154,
- from scs/linsys/external/amd/amd_defaults.c:15:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/include/scs.h:9:0,
- from scs/linsys/external/amd/SuiteSparse_config.h:47,
- from scs/linsys/external/amd/amd.h:46,
- from scs/linsys/external/amd/amd_internal.h:154,
- from scs/linsys/external/amd/amd_postorder.c:13:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/linsys/external/qdldl/qdldl_types.h:4:0,
- from scs/linsys/external/qdldl/qdldl.h:5,
- from scs/linsys/external/qdldl/qdldl.c:1:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- In file included from scs/include/scs.h:9:0,
- from scs/linsys/external/amd/SuiteSparse_config.h:47,
- from scs/linsys/external/amd/amd.h:46,
- from scs/linsys/external/amd/amd_internal.h:154,
- from scs/linsys/external/amd/amd_info.c:15:
- scs/include/glbopts.h:52:20: fatal error: Python.h: No such file or directory
- compilation terminated.
- error: Command "x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPYTHON -DCTRLC=1 -DDLONG=1 -DCOPYAMATRIX -DUSE_LAPACK -DHAVE_CBLAS -DHAVE_CBLAS -Iscs/include -Iscs/linsys -Iscs/linsys/cpu/direct/ -Iscs/linsys/external/amd -Iscs/linsys/external/dqlql -I/home/[username]/tutorial-env/lib/python3.6/site-packages/numpy/core/include -I/home/[username]/tutorial-env/include -I/usr/include/python3.6m -c src/scsmodule.c -o build/temp.linux-x86_64-3.6/src/scsmodule.o -O3" failed with exit status 1
- ----------------------------------------
- ERROR: Command errored out with exit status 1: /home/[username]/tutorial-env/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-2yhxymp8/scs/setup.py'"'"'; __file__='"'"'/tmp/pip-install-2yhxymp8/scs/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-record-yr_7wj14/install-record.txt --single-version-externally-managed --compile --install-headers /home/[username]/tutorial-env/include/site/python3.6/scs Check the logs for full command output.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement