You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting a permissions error (Ubuntu) when trying to run owslib after an easy_install install on system python 2.7:
from owslib.sos import SensorObservationService
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/OWSLib-0.8.9-py2.7.egg/owslib/sos.py", line 14, in
from swe.observation import sos100, sos200
File "/usr/local/lib/python2.7/dist-packages/OWSLib-0.8.9-py2.7.egg/owslib/swe/observation/sos100.py", line 5, in
from owslib import ows
File "/usr/local/lib/python2.7/dist-packages/OWSLib-0.8.9-py2.7.egg/owslib/ows.py", line 19, in
from owslib import crs, util
File "/usr/local/lib/python2.7/dist-packages/OWSLib-0.8.9-py2.7.egg/owslib/util.py", line 14, in
import pytz
File "/usr/local/lib/python2.7/dist-packages/pytz-2014.7-py2.7.egg/pytz/init.py", line 29, in
from pkg_resources import resource_stream
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2825, in
add_activation_listener(lambda dist: dist.activate())
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 710, in subscribe
callback(dist)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2825, in
add_activation_listener(lambda dist: dist.activate())
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2257, in activate
self.insert_on(path)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2364, in insert_on
self.check_version_conflict()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2403, in check_version_conflict
for modname in self._get_metadata('top_level.txt'):
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2251, in _get_metadata
for line in self.get_metadata_lines(name):
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1219, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1211, in get_metadata
return self._get(self._fn(self.egg_info,name))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1326, in _get
stream = open(path, 'rb')
IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/python_dateutil-2.2-py2.7.egg/EGG-INFO/top_level.txt'
I suspect it is caused by this bug in the python dateutil package imported in util.py so not sure there is much can be done about it in OWSLib.
I am getting a permissions error (Ubuntu) when trying to run owslib after an easy_install install on system python 2.7:
I suspect it is caused by this bug in the python dateutil package imported in util.py so not sure there is much can be done about it in OWSLib.
https://bugs.launchpad.net/dateutil/+bug/1243202
The text was updated successfully, but these errors were encountered: