-
Notifications
You must be signed in to change notification settings - Fork 15
Manually installing
Christopher Brown edited this page Aug 20, 2013
·
2 revisions
Installing crfsuite:
Install in this order:
- libLBFGS: http://www.chokkan.org/software/liblbfgs/
- crfsuite: http://www.chokkan.org/software/crfsuite/
- crfsuite python wrapper: https://github.com/chokkan/crfsuite/tree/master/swig/python
- If you are running on OS X, add a -lpython switch to get the python wrapper to install properly
Installing dependent libraries: While the command 'python setup.py download_ext' should install all of the external resources required to run this module, we have provided directions on installing external resources (just in case). For many of these resources 'pip install' is strongly suggested. Directions for installing pip are below:
Install pip:
- curl -O https://pypi.python.org/packages/source/p/pip/pip-X.X.tar.gz
- tar xvfz pip-X.X.tar.gz
- cd pip-X.X
- [sudo] python setup.py install
Install bottle:
pip install bottle
Install colorama:
pip install colorama
Install Mako:
pip install Mako
Install mrjob:
pip install mrjob
Install mysql-python:
pip install MySQL-python
Install pattern:
pip install pattern
Install pybloomfiltermmap:
pip install pybloomfiltermmap
Install python-hashes:
pip install python-hashes
Install scikit-learn:
pip install -U scikit-learn
Install scipy:
- Ubuntu and Debian: sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose
- Fedora: sudo yum install numpy scipy python-matplotlib ipython python-pandas sympy python-nose
- Users of Fedora 17 and earlier should then upgrade IPython using pip: sudo pip install --upgrade ipython
- Macports: sudo port install py27-numpy py27-scipy py27-matplotlib py27-ipython +notebook py27-pandas py27-sympy py27-nose
Install sqlalchemy:
pip install SQLAlchemy
Install ujson:
pip install ujson