On 09/07/15 21:36, Joakim Thulin wrote:
> pi@raspberrypi <mailto:
pi@raspberrypi> ~/weather $ pip list
> Warning: cannot find svn location for distribute===0.6.24dev-r0
> distribute (0.6.24dev-r0)
> docutils (0.12)
> libusb1 (1.4.0)
> lockfile (0.10.2)
> pip (7.1.0)
> python-daemon (2.0.5)
> pytz (2015.4)
> pyusb (1.0.0b2)
> pywws (15.7.0)
> setuptools (0.6rc11)
> tzlocal (1.2)
My list (on a Pi) is similar to that, but a bit longer. On my desktop
machine the versions are very different and there's no distribute at
all. The problem seems to be related to pkg_resources, which is part of
pip/setuptools.
I just tried doing a minimal pip install of pywws in a virtual
environment (see
http://docs.python-guide.org/en/latest/dev/virtualenvs/) on my Pi and it
works fine. Output of 'pip list' is as follows:
(venv)jim@firefly ~/weather/pywws $ pip list
libusb1 (1.4.0)
pip (7.1.0)
pytz (2015.4)
pywws (15.7.0)
setuptools (18.0.1)
tzlocal (1.2)
wheel (0.24.0)
I suggest upgrading setuptools first (sudo pip install -U setuptools),
then you should be able to remove distribute (sudo pip uninstall
distribute). Don't uninstall distribute until setuptools has been
upgraded or pip will stop working.