Release 15.07.0

151 views
Skip to first unread message

Jim Easterbrook

unread,
Jul 3, 2015, 5:26:39 AM7/3/15
to py...@googlegroups.com
Friends,


This morning I uploaded 'snapshot' release 15.07.0 to PyPI:
http://pypi.python.org/pypi/pywws/

From a user point of view this doesn't change much. It adds a couple of
new features: multiple media in Twitter messages and date & time in wind
rose (and plot) titles.

As before, if upgrading from any version before 14.02.dev1143 you must
run pywws-reprocess with the -u option to re-interpret your old raw
data. I advise backing up your raw data before doing this.
--
Jim Easterbrook <http://www.jim-easterbrook.me.uk/>

Joakim Thulin

unread,
Jul 8, 2015, 4:41:11 PM7/8/15
to py...@googlegroups.com
Good evening, did the pip upgrade, now I have a distribution not found on pytz (which is installed). Any ideas?

Regards,
Joakim

Jim Easterbrook

unread,
Jul 9, 2015, 4:37:27 AM7/9/15
to py...@googlegroups.com
On 08/07/15 21:41, Joakim Thulin wrote:
> Good evening, did the pip upgrade, now I have a distribution not found on pytz (which is installed). Any ideas?

Was pytz installed with pip? Does it show in the output of 'pip list'?

Joakim Thulin

unread,
Jul 9, 2015, 2:01:27 PM7/9/15
to py...@googlegroups.com
Yes, Pytz was installed with pip, Pytz is listed with pip list. But pip list also raise an error message "warning: can not find svn location for distribute===0.6.24" and another message with insecureplatformwarning

Joakim Thulin

unread,
Jul 9, 2015, 4:36:52 PM7/9/15
to py...@googlegroups.com
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)


pi@raspberrypi ~/weather $ pywws-testweatherstation -vv
Traceback (most recent call last):
  File "/usr/local/bin/pywws-testweatherstation", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pytz
 

Jim Easterbrook

unread,
Jul 10, 2015, 4:56:53 AM7/10/15
to py...@googlegroups.com
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.

Joakim Thulin

unread,
Jul 10, 2015, 4:45:52 PM7/10/15
to py...@googlegroups.com
You nailed it, thanks a lot!
Reply all
Reply to author
Forward
0 new messages