I solved it with:

sudo aptitude install python2.6-dev libxml2-dev libxslt-dev
sudo pip install *--upgrade* django-easymode
Thanks anyway!

2010/8/17 Alexandre González <agonzale...@gmail.com>

> Hi!
>
> I'm trying to install django-easymode, I get a version conflict, so I
> remove my django from /usr/local/lib/python2.6/dist-packages as [1] says.
> And after it reinstall my django from sources with python setup.py install.
>
> When I run python -c "import django; print django.VERSION" I get the
> correct one: 1.2.1 but with sudo pip install django-easymode I get the
> same error:
>
>   Downloading django-easymode-0.10.5.tar.gz (292Kb): 292Kb downloaded
>   Running setup.py egg_info for package django-easymode
>     warning: no files found matching '*.png' under directory 'docs/xslt'
>     warning: no files found matching '*.xslt' under directory 'example'
>     warning: no files found matching '*.xml' under directory 'easymode'
> Exception:
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/dist-packages/pip.py", line 252, in main
>     self.run(options, args)
>   File "/usr/lib/python2.6/dist-packages/pip.py", line 408, in run
>     requirement_set.install_files(finder, force_root_egg_info=self.bundle)
>   File "/usr/lib/python2.6/dist-packages/pip.py", line 1721, in
> install_files
>     if req_to_install.check_if_exists():
>   File "/usr/lib/python2.6/dist-packages/pip.py", line 1583, in
> check_if_exists
>     dist = pkg_resources.get_distribution(self.req)
>   File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 292, in
> get_distribution
>     if isinstance(dist,Requirement): dist = get_provider(dist)
>   File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 176, in
> get_provider
>     return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
>   File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 436, in
> find
>     raise VersionConflict(dist,req)     # XXX add more info
> VersionConflict: (Django 1.2 (/usr/local/lib/python2.6/dist-packages),
> Requirement.parse('Django>=1.2.1'))
>
> Must I update some versions cache or similar?
>
> [1] http://docs.djangoproject.com/en/dev/topics/install/?from=olddocs
>
> --
> Please, don't send me files with extensions: .doc, .docx, .xls, .xlsx, .ppt
> and/or .pptx
>



-- 
Please, don't send me files with extensions: .doc, .docx, .xls, .xlsx, .ppt
and/or .pptx

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to