Comments (12)
I think you'll have to either install lapacke or install the package without hintsvm and variance_reduction
https://github.com/ntucllab/libact#installation-options
from libact.
Was installing the module as well and was searching for a issue that showed my error and found this one. There is a question that came to mind: "What files are supposed to be in the libact library?" If its the ones on the print I m attaching we could just add the module to the lib folder on python where the modules are installed(C:\Users\User\AppData\Local\Programs\Python\Python36\Lib\site-packages) and add lapacke.h file somewhere(since its available at the lapack website) and change up the python import to import the .h file from where we put it correct? @yangarbiter
from libact.
I am not super familiar with windows right now. I guess you will need to set some environment variable (PATH
in linux) to the directory of the lapacke.h.
I think you might need some other files other than the header file lapacke.h. I found this website. Do you want to take a look and see if you can get it installed?
from libact.
I can try to help not only me but others to solve this issue on windows, but by the looks of things in MacOs as well(from other issues I saw in the github). Btw is it normal to see this error message if u say to libact u dont want to install variance_reduction?And it also does the same for when u try to say to libact that u dont want variance_reduction and hintsvm(no issue found for hintsvm tho, as shown on second print (
from libact.
Could you try installing the package with this command (without the py -3.6 -m
in the beginning and the space between space between LIBACT_BUILD_HINTSVM
and 1
.
LIBACT_BUILD_HINTSVM=1 pip install git+https://github.com/ntucllab/libact.git
If you really wants to run py -3.6 -m
you should do
LIBACT_BUILD_VARIANCE_REDUCTION=1 LIBACT_BUILD_HINTSVM=1 py -3.6 -m pip install git+https://github.com/ntucllab/libact.git
from libact.
We know that LAPACKE is hard to install in many other operating systems. @ariapoy is trying another way to remove the requirement of LAPACKE. Hopefully we can make the installation process easier soon.
from libact.
Could you try installing the package with this command (without the
py -3.6 -m
in the beginning and the space between space betweenLIBACT_BUILD_HINTSVM
and1
.LIBACT_BUILD_HINTSVM=1 pip install git+https://github.com/ntucllab/libact.gitIf you really wants to run
py -3.6 -m
you should doLIBACT_BUILD_VARIANCE_REDUCTION=1 LIBACT_BUILD_HINTSVM=1 py -3.6 -m pip install git+https://github.com/ntucllab/libact.git
U cannot use it like that in windows , as is shown in the print I attach... It throws out a libact build variance reduction is not a command as it should, cause in windows u should put first the command in the command prompt and then the variables, hence y that error
from libact.
We know that LAPACKE is hard to install in many other operating systems. @ariapoy is trying another way to remove the requirement of LAPACKE. Hopefully we can make the installation process easier soon.
Hopefully! But I m also trying to see a solution to help windows users for now, so that this issue becomes solved and u can add it later to something in the readme in case lapacke is indeed a important package for the code and cant be replaced
from libact.
We know that LAPACKE is hard to install in many other operating systems. @ariapoy is trying another way to remove the requirement of LAPACKE. Hopefully we can make the installation process easier soon.
Hopefully! But I m also trying to see a solution to help windows users for now, so that this issue becomes solved and u can add it later to something in the readme in case lapacke is indeed a important package for the code and cant be replaced
Do u know(from installing it on your own pc) what files should be imported and inside of the package?
In other words is all the files inside of the github master needed? Or only the ones inside of the libact folder for libact to run?
So I can try and help the windows users out(and help u as well) with this recurring issue and try to find a fix for u as well for this issue, since the module itself seems interesting and I would love to help you out with this and let more people experience this package with no issues.
from libact.
Can you try to set the environment variables like mentioned here?
https://superuser.com/questions/79612/setting-and-getting-windows-environment-variables-from-the-command-prompt
Something like
set LIBACT_BUILD_VARIANCE_REDUCTION=1
set LIBACT_BUILD_HINTSVM=1
pip install git+https://github.com/ntucllab/libact.git
from libact.
Can you try to set the environment variables like mentioned here?
https://superuser.com/questions/79612/setting-and-getting-windows-environment-variables-from-the-command-promptSomething like
set LIBACT_BUILD_VARIANCE_REDUCTION=1 set LIBACT_BUILD_HINTSVM=1 pip install git+https://github.com/ntucllab/libact.git
I can try and give u a result for it
from libact.
After doing the sets it did the installation with the error with variance reduction on 1 as shown in the first print. So it seemed the set did nothing,
But as soon as I did set Variance reduction to 0 on the set command no errors occurred as shown here:
So we know the way on windows to do the setting of the variables is with this part of code u suggested with the set command(not sure if same for MacOs, I can try and search it to help u respond as well to MacOs user issue) One thing stood out tho . If LIBACT_BUILD_VARIANCE_REDUCTION = 0 should the file even be in the package? Cause that's what happened to me as I did that. Shouldn't it mean that the query strategy is not to be there? In the mean time(although I wanted to install the package for the hintSVM Algorithm) I ll try and help u solving the Variance Reduction issue so that people that really want to use the variance reduction can have a easy way of installing the package and having that working π
from libact.
Related Issues (20)
- Error when numpy using 1.16.x HOT 2
- See if we can make the output of get_labeled_entries() more consistent
- libact for NER with probabilistic models HOT 1
- Error Installing libact, Anaconda2, python2.7, Windows10 HOT 8
- Issue trying to install libact on MacOS Catalina HOT 4
- ValueError: setting array element with sequence HOT 5
- centos installation HOT 2
- QueryByCommittee 'kl_divergence' method error HOT 1
- for windows pip install libact dosen't work well HOT 5
- multilabel_plot.py Error HOT 1
- error: conflicting types for βdgesvd_β HOT 3
- Errors installing libact in Windows with Anaconda HOT 2
- Windows compiled ok, but can't run HOT 3
- Using different ML models with Uncertainty sampling HOT 4
- multilabel_plot.py code discuss HOT 2
- Hierarchical clustering HOT 3
- How to solve this problem when I install the libact? HOT 7
- Issue Installing on MacOS HOT 3
- ModuleNotFoundError: No module named 'Cython' HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libact.