libact
libact copied to clipboard
ModuleNotFoundError: No module named 'libact.query_strategies._hintsvm'
when i load from libact.query_strategies._hintsvm import hintsvm_query raise ModuleNotFoundError: No module named 'libact.query_strategies._hintsvm'
from libact.query_strategies import QUIR raise ModuleNotFoundError: No module named 'libact.query_strategies._hintsvm'
Can you show more about how you install the package?
I faced such problem for a while and it was frustrating. I tried installing on OSX and it was failing. Then my other linux machine made it working after simple pip install. So, I think you are facing the problem in OSX.
Here are some of the checkpoints
- if you are using
anaconda
then useconda install -c anaconda openblas
instead of usinghomebrew
- make sure your gcc is linked correctly (I used
brew link gcc
) - for OSX you can debug more using
brew doctor
(check this sectionWarning: You have unlinked kegs in your Cellar.
)