genderizer
genderizer copied to clipboard
some import errors...
you need to pip install naiveBayesClassifier
, and then you get this...
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-431-c7439d1d9405> in <module>()
----> 1 from genderizer.genderizer import Genderizer
/Users/swyx/anaconda/lib/python2.7/site-packages/genderizer/genderizer.py in <module>()
8
9 from namesCollection import NamesCollection
---> 10 from cachedModel import CachedModel
11
12
/Users/swyx/anaconda/lib/python2.7/site-packages/genderizer/cachedModel.py in <module>()
----> 1 import memcache
2 import cPickle
3 import os
4
5 class CachedModel(object):
ImportError: No module named memcache
Hi. There is a dependency called python-memcached
.
Please install it first via running the command below:
pip install python-memcached
.
the dependency, python-memcached
is listed in requirements.txt
file so it is supposed to be installed automatically. @sw-yx but try @nejdetckenobi's suggestion and let's know the result.
How did you solved the problem of Missing namesCollection Pleasee
ModuleNotFoundError Traceback (most recent call last)
~\Anaconda3\lib\site-packages\genderizer\genderizer.py in
ModuleNotFoundError: No module named 'namesCollection'