dlamotte / django-tagging

Automatically exported from code.google.com/p/django-tagging
Other
0 stars 0 forks source link

cannot import name parse_lookup #174

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I get this error...
cannot import name parse_lookup
...when I view my site with tagging in my INSTALLED_APPS.
-Ryan

Original issue reported on code.google.com by rya...@gmail.com on 16 Nov 2008 at 5:03

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
@ryandw: Make sure you're running the latest django-tagging.

Original comment by gle...@transifex.com on 18 Jan 2009 at 12:33

GoogleCodeExporter commented 8 years ago
Allow me to repost and be more specific: the latest release has an issue, try 
running
the latest trunk.

Original comment by gle...@transifex.com on 18 Jan 2009 at 12:34

GoogleCodeExporter commented 8 years ago
Clean install of latest build and I'm getting the same error

Original comment by jodybrew...@gmail.com on 17 May 2009 at 12:17

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
...correcting typo in last comment (deleted) and reposting.

Just in case if anyone still have this problem.

I was having the same problem. I did a svn checkout and then a `sudo python 
setup.py
install` the 0.3 pre was installed successfully. But for some reason the 
earlier dist
0.2.1 was not removed/upgraded. 

In [3]: tagging.VERSION
Out[3]: (0, 2.1000000000000001, None)

Did some monkeying and found that (using Ubuntu Jaunty with Python 2.6)
/usr/local/lib/python2.6/dist-packages/easy-install.pth still has the entry
"./tagging-0.2.1-py2.6.egg". hence while importing tagging 0.2.1 was taken as 
default
and imported. Just commented the above mentioned line in easy_install.pth and it
started working.

In [2]: tagging.VERSION
Out[2]: (0, 3, 'pre')

Cheers
JV

Original comment by JaiVikra...@gmail.com on 12 Jun 2009 at 5:38

GoogleCodeExporter commented 8 years ago
This is no longer an issue with 0.3. Use that over trunk in most cases (unless 
you are following along with 
development). I recommend using something like pip or easy_install to install 
django-tagging. You can use -U 
to get better upgrades (but still not perfect).

Original comment by bros...@gmail.com on 23 Aug 2009 at 4:53