Closed BramVanroy closed 4 years ago
Hi, @BramVanroy
I have tried both "pip3 install thundersvm" and "python3 setup.py install" in virtualenv and they all work fine. If you have successfully installed the python package, there shouldn't be the error message "Please build the library first" when you run the script. Can you tell me the specific instructions that you used to install thundersvm/python? Thanks.
I am trying to use thundersvm in Python but I am running into many issues, unfortunately. The steps that I followed are below. I am using Ubuntu 18.04.2.
But I get the error that I have to install the library first. I assume that the installed Python package is installed in the site-packages of the venv, e.g.
/home/bram/.local/share/virtualenvs/predicting-syntactic-equivalence-g0sIkWgJ/lib/python3.7/site-packages/thundersvm-0.3.3-py3.7.egg/
. But because thundersvm was built in another directory, it cannot find the bin files.Perhaps a better solution is to either let the user decide where the built binaries are, OR also look into e.g.
opt/
,bin/
,/usr/bin/
.