sudo apt-get install libmysqlclient-dev should be installed/run first
ksclarke opened this issue · comments
sudo apt-get install libmysqlclient-dev
should be installed first before running pip install -r requirements.pip
Put it up in the README install instructions before sudo apt-get install python-virtualenv
?
I had basic MySQL stuff installed on my system but not libmysqlclient-dev and this caused the pip install to fail, throwing errors about "EnvironmentError: mysql_config not found"
Also:
sudo aptitude install liblapack-dev
sudo aptitude install libatlas-base-dev
sudo aptitude install subversion
It's still not building library "npymath" sources for me, but I'm giving up for tonight. Perhaps this is all stuff that a python programmer would already have on the system?
I'll put another install note here -- all this can be deleted if it's decided it's just my systems' weirdness. Just documenting trip-ups I had while installing shortimer.
I also had to install nltk: sudo aptitude install python-nltk
After that I had to initialize the toolkit by creating a simple python script and running it:
#!/usr/bin/python
import nltk
nltk.download('maxent_treebank_pos_tagger');
Before I did this I got the following error at the python manage.py load_mboxes
step:
LookupError:
Resource 'taggers/maxent_treebank_pos_tagger/english.pickle' not
found. Please use the NLTK Downloader to obtain the resource:
nltk.download()
Searched in:
- '/home/kevin/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
I think these issues have already been addressed. Sorry for not taking care of them sooner.
I'm using mac and cann not instal sudo apt-get install libmysqlclient-dev
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package libmysqlclient-dev