/opt/conda/envs/python2/lib/python2.7/gzip.pyc in __init__(self, filename, mode, compresslevel, fileobj, mtime)
92 mode += 'b'
93 if fileobj is None:
---> 94 fileobj = self.myfileobj = __builtin__.open(filename, mode or 'rb')
95 if filename is None:
96 # Issue #13781: os.fdopen() creates a fileobj with a bogus name
IOError: [Errno 2] No such file or directory: '/opt/conda/envs/python2/lib/python2.7/site-packages/tzwhere/tz_world.json.gz'
It looks like gzip is trying to locate tz_world.json.gz. It does not exist inside the tzwhere folder, which includes only:
tzwhere.py
tzwhere.pyc
tz_world_shortcuts.json
If I manually add the file to the directory it works. So it just seems that it is something in the pip installation that goes wrong.
Immediately after a fresh pip2 install I do:
I get the error (subset below):
It looks like gzip is trying to locate
tz_world.json.gz
. It does not exist inside the tzwhere folder, which includes only:If I manually add the file to the directory it works. So it just seems that it is something in the pip installation that goes wrong.