-
Notifications
You must be signed in to change notification settings - Fork 25
Installing requirements for the ILP package
The mysql package requires the mysql-connector-python package. If you installed everything in requirements.txt, you should already have it. Otherwise:
pip install mysql-connector-python
For dumping stuff to weka/orange data structures this is everything you need.
To use local ILP widgets, you'll need yap prolog. To support 'smarter' dumping of data, where the db connection is forwarded to yap, you'll also need to compile yap with flags for myddas. Otherwise, you'll have to use the 'dump full database' flags on the corresponding widgets (Databse to RSD, Database to Aleph).
Find the yap binaries for your OS or compile from source from Yap downloads. Use the stable yap-6 version if possible.
You'll need the mysql dev package. On debian systems:
sudo apt-get install libmysqlclient-dev
Compiling yap:
git clone git://yap.dcc.fc.up.pt/yap-6
cd yap-6
mkdir build
cd build
../configure --enable-tabling --enable-myddas
make
If everything went ok, run yap to see if myddas was successfully compiled with yap. Run:
./yap
you should see something like:
YAP 6.2.3 (x86_64-linux): Mon Apr 8 11:19:20 CEST 2013
MYDDAS version MYDDAS-0.9.1
?-
Install:
make install