You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build a stable version v0.5.0 on Jetson AGX Orin 32GB. But get stuck on the requirements of package qpsolvers[open_source_solvers].
🐛 Describe the bug
Some error logs:
WARNING: qpsolvers 4.3.1 does not provide the extra 'open-source-solvers'
...
Checking if build backend supports build_editable ... done
Building wheels for collected packages: avalanche-lib, cvxopt, ecos, quadprog, scs, qdldl
Building editable for avalanche-lib (pyproject.toml) ... done
Created wheel for avalanche-lib: filename=avalanche_lib-0.5.0-0.editable-py3-none-any.whl size=7998 sha256=e19d8b5397bd27679cde896969115fcca4df8a1dc860836ff20c453b44be202b
Stored in directory: /tmp/pip-ephem-wheel-cache-_6px0ujn/wheels/f2/6a/f6/da4a5436b22b7edce2e18cb6b42b33a43f76e06f4d9f62d010
Building wheel for cvxopt (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for cvxopt (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [38 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-cpython-38
creating build/lib.linux-aarch64-cpython-38/cvxopt
copying src/python/coneprog.py -> build/lib.linux-aarch64-cpython-38/cvxopt
copying src/python/printing.py -> build/lib.linux-aarch64-cpython-38/cvxopt
copying src/python/misc.py -> build/lib.linux-aarch64-cpython-38/cvxopt
copying src/python/_version.py -> build/lib.linux-aarch64-cpython-38/cvxopt
copying src/python/solvers.py -> build/lib.linux-aarch64-cpython-38/cvxopt
copying src/python/info.py -> build/lib.linux-aarch64-cpython-38/cvxopt
copying src/python/cvxprog.py -> build/lib.linux-aarch64-cpython-38/cvxopt
copying src/python/__init__.py -> build/lib.linux-aarch64-cpython-38/cvxopt
copying src/python/msk.py -> build/lib.linux-aarch64-cpython-38/cvxopt
copying src/python/modeling.py -> build/lib.linux-aarch64-cpython-38/cvxopt
running build_ext
building 'base' extension
creating build/temp.linux-aarch64-cpython-38
creating build/temp.linux-aarch64-cpython-38/src
creating build/temp.linux-aarch64-cpython-38/src/C
gcc -pthread -B /experiment/zexin/miniforge3/envs/test/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/experiment/zexin/miniforge3/envs/test/include/python3.8 -c src/C/base.c -o build/temp.linux-aarch64-cpython-38/src/C/base.o
gcc -pthread -B /experiment/zexin/miniforge3/envs/test/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/experiment/zexin/miniforge3/envs/test/include/python3.8 -c src/C/dense.c -o build/temp.linux-aarch64-cpython-38/src/C/dense.o
gcc -pthread -B /experiment/zexin/miniforge3/envs/test/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/experiment/zexin/miniforge3/envs/test/include/python3.8 -c src/C/sparse.c -o build/temp.linux-aarch64-cpython-38/src/C/sparse.o
gcc -pthread -shared -B /experiment/zexin/miniforge3/envs/test/compiler_compat -L/experiment/zexin/miniforge3/envs/test/lib -Wl,-rpath=/experiment/zexin/miniforge3/envs/test/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-aarch64-cpython-38/src/C/base.o build/temp.linux-aarch64-cpython-38/src/C/dense.o build/temp.linux-aarch64-cpython-38/src/C/sparse.o -L/usr/lib -lm -llapack -lblas -o build/lib.linux-aarch64-cpython-38/cvxopt/base.cpython-38-aarch64-linux-gnu.so
building 'blas' extension
gcc -pthread -B /experiment/zexin/miniforge3/envs/test/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/experiment/zexin/miniforge3/envs/test/include/python3.8 -c src/C/blas.c -o build/temp.linux-aarch64-cpython-38/src/C/blas.o
gcc -pthread -shared -B /experiment/zexin/miniforge3/envs/test/compiler_compat -L/experiment/zexin/miniforge3/envs/test/lib -Wl,-rpath=/experiment/zexin/miniforge3/envs/test/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-aarch64-cpython-38/src/C/blas.o -L/usr/lib -lblas -o build/lib.linux-aarch64-cpython-38/cvxopt/blas.cpython-38-aarch64-linux-gnu.so
building 'lapack' extension
gcc -pthread -B /experiment/zexin/miniforge3/envs/test/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/experiment/zexin/miniforge3/envs/test/include/python3.8 -c src/C/lapack.c -o build/temp.linux-aarch64-cpython-38/src/C/lapack.o
gcc -pthread -shared -B /experiment/zexin/miniforge3/envs/test/compiler_compat -L/experiment/zexin/miniforge3/envs/test/lib -Wl,-rpath=/experiment/zexin/miniforge3/envs/test/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-aarch64-cpython-38/src/C/lapack.o -L/usr/lib -llapack -lblas -o build/lib.linux-aarch64-cpython-38/cvxopt/lapack.cpython-38-aarch64-linux-gnu.so
building 'umfpack' extension
gcc -pthread -B /experiment/zexin/miniforge3/envs/test/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include -I/experiment/zexin/miniforge3/envs/test/include/python3.8 -c src/C/umfpack.c -o build/temp.linux-aarch64-cpython-38/src/C/umfpack.o
src/C/umfpack.c:23:10: fatal error: umfpack.h: No such file or directory
23 | #include "umfpack.h"
| ^~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cvxopt
🐜 To Reproduce
Download a v0.5.0 version of code.
Create a conda environment with Python 3.8.10 (typical JetPack requirement).
run the following code
cd avalanche
pip install -e ".[dev]"
🐝 Expected behavior
I suggest removing this dependency qpsolvers[open_source_solvers] in requirements.txt and setup.py which may not be well supported on the arm64 platform. Instead use alternative packages like (this following code could pass smoke test in additional text):
Thanks, I think we can make qpsolvers an optional dependency. @AndreaCossu what do you think?
@ZexinLi0w0 right now you can fix the error by removing the qpsolvers dependency and removing its import (a single file with the GEM implementation, it will give you an error).
Making qpsolvers optional is definitely the easiest way. This of course assume you won't need GEM. Otherwise we should consider using the suggested packages.
I am trying to build a stable version v0.5.0 on Jetson AGX Orin 32GB. But get stuck on the requirements of package
qpsolvers[open_source_solvers]
.🐛 Describe the bug
Some error logs:
🐜 To Reproduce
🐝 Expected behavior
I suggest removing this dependency
qpsolvers[open_source_solvers]
inrequirements.txt
andsetup.py
which may not be well supported on the arm64 platform. Instead use alternative packages like (this following code could pass smoke test in additional text):🐞 Screenshots
🦋 Additional context
System configuration:
Smoke test code:
The text was updated successfully, but these errors were encountered: