python - ImportError: No module named isodate -


i cant import rdflib in python. error detailed:

python 2.7.3 (default, jun 27 2012, 23:48:21)  [gcc 4.6.1] on linux2 type "help", "copyright", "credits" or "license" more information. >>> import rdflib traceback (most recent call last):   file "<stdin>", line 1, in <module>   file "/usr/local/lib/python2.7/site-packages/rdflib/__init__.py", line 65, in <module>     rdflib.term import uriref, bnode, literal, variable   file "/usr/local/lib/python2.7/site-packages/rdflib/term.py", line 49, in <module>     isodate import parse_time, parse_date, parse_datetime importerror: no module named isodate 

i grateful if can help.

thanks.

if install rdflib via pip, dependencies come along (isodate included):

pip install -u rdflib 

or

easy_install -u rdflib 

chances might have installed directly source, meaning have take care of deps yourself.

information on installing pip if dont have already:
http://www.pip-installer.org/en/latest/installing.html

if have easy_install, can do: easy_install pip


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -