ntucllab / libact

Pool-based active learning in Python
http://libact.readthedocs.org/
BSD 2-Clause "Simplified" License
779 stars 174 forks source link

Installation using pip fails for python 2 #55

Closed jonzarecki closed 8 years ago

jonzarecki commented 8 years ago

Tried to install libact using sudo pip install libact and got the following error message

libact/query_strategies/variance_reduction.c:26:15: error: variable ‘moduledef’ has initializer but incomplete type

You can see the full error message here.

I also tried to install using the setup.pyscript, which actually did work just fine, also the python3 installation worked using pip on the same machine. I did some googling and the error looked similar to here, I cant look into it because setup.py worked. Just wanted to let you guys know.

yangarbiter commented 8 years ago

Since we haven't issue a new release to Pypi repository You may install it through pip install git+https://github.com/ntucllab/libact.git

yangarbiter commented 8 years ago

I've uploaded version v0.1.2 to pypi repository https://pypi.python.org/pypi/libact/0.1.2

you should install it with pip install libact in python2 now.