Closed serend1p1ty closed 5 years ago
Finally, I solve the problem.
The solution is so strange: run the command x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.5/libact/query_strategies/src/variance_reduction/variance_reduction.o -o build/lib.linux-x86_64-3.5/libact/query_strategies/_variance_reduction.cpython-35m-x86_64-linux-gnu.so -llapacke -llapack -lblas
in terminal, then run python3 setup.py build
again.
I guess there is some errors in setup.py.
If I may addup to this closed issue, Here is a 1-line fix to this issue: 0f6f38ee7eab44774f13cd2ce1d14bf8c203207b In a rush I just quickly forked and updated, if the repo owner wants I may issue a proper PR.
If I may addup to this closed issue, Here is a 1-line fix to this issue: 0f6f38e In a rush I just quickly forked and updated, if the repo owner wants I may issue a proper PR.
PR is very welcomed, please!! Thanks.
In the latest setup.py the issue has been fixed. Thanks.
Hello, I am sorry to disturb you. Some strange errors occurred when I tried to install libact. I promise what I have done is exactly same as what the README docs instructs. My steps are following:
pip install -r requirements.txt
sudo apt-get install build-essential gfortran libatlas-base-dev liblapacke-dev python3-dev
python setup.py build
Then I met some errors like this.
The following is the error message.
error: Command "x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.5/libact/query_strategies/src/variance_reduction/variance_reduction.o -o build/lib.linux-x86_64-3.5/libact/query_strategies/_variance_reduction.cpython-35m-x86_64-linux-gnu.so -llapacke -llapack -lblas" failed with exit status 1
I haven't found solution in issues, can anyone help me? I will be very grateful!