Open gtcslance opened 6 years ago
Did you install the package correctly through ./setup.py install
?
It seems you didn't compile the source code for variance reduction.
I have followed the same and the last line
Finished processing dependencies for libact==0.1.3
Then I tried to run, python examples/plot.py
Traceback (most recent call last): File "examples/plot.py", line 23, in
from libact.query_strategies import * File "/libact-master/libact/query_strategies/init.py", line 20, in from ._variance_reduction import estVar ImportError: dlopen(/libact-master/libact/query_strategies/_variance_reduction.cpython-37m-darwin.so, 2): Symbol not found: ___addtf3 Referenced from: /usr/local/opt/gcc/lib/gcc/8/libquadmath.0.dylib Expected in: /usr/lib/libSystem.B.dylib in /usr/local/opt/gcc/lib/gcc/8/libquadmath.0.dylib
https://github.com/scipy/scipy/issues/5093
Could you try to reinstall the package?
Yes, I have tried them too.
python -c "import scipy; print(scipy.__version__)"
seems to be 1.1.0
from scipy.special import legendre
didn't provide any problem. And python -c "import scipy; print(scipy.__version__)"
seems to be 1.1.0
I mean remove libact completely and reinstall it.
Tried that one and this one https://github.com/ntucllab/libact/issues/138 too. But out of luck.
this line of code does not work
from libact.query_strategies._variance_reduction import estVar
because the _variance_reduction module is missing