Error With Crunchbase API Wrapper Pycrunchbase
I tried importing the pycrunchbase api wrapper and i get the following error. It is a API wrapper that use the Crunchbase API platform Doc: https://pycrunchbase.readthedocs.org/en/
Solution 1:
This is likely because your OS X is referencing an older version of six, that is not in your pip installed directory.
Pip installs in /Library/[..] while your system python installs in /System/Library/[..]
If you pip install six, it probably installs 1.9.0, but when you go into your python console, and type
>>> import six
>>> six.__version__
'1.4.1'
You'll probably get the above.
There's two options...the first and easiest is to just implement a virtualenv.
The second is to go to /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python and
$ rm six.py six.pyc
This will then force your console to reference your pip directory as opposed to your python dir, and the proper version will be referenced.
Hope that makes sense.
Post a Comment for "Error With Crunchbase API Wrapper Pycrunchbase"