gjhiggins/rdflib — Issue #193: ImportError: No module named term
Author: gjhiggins
Created: 2011-10-19 01:38:25+00:00
State: open

Originally filed by kaska...@gmail.com on 2011-09-27T23:17:41

What steps will reproduce the problem?
1. hg clone https://code.google.com/p/rdflib/
2. mv rdflib/rdflib /tmp/extras
3. touch /tmp/extras/__init__.py
4. execute python from /tmp directory and execute: from extras import rdflib

What is the expected output?
no output, just rdflib loaded

What do you see instead?
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from extras import rdflib
Traceback (most recent call last):
File "", line 1, in
File "extras/rdflib/__init__.py", line 64, in
from rdflib.term import URIRef, BNode, Literal, Variable
ImportError: No module named term

What version of the product are you using? On what operating system?
Using last source from hg repository on ubuntu 11.04

Please provide any additional information below.
Pending to test in other environments. I use to follow the same steps with previous version of rdflib (2.4) with no problem at all.
Thanks in advance. I love rdflib.