tamentis / cartman

Command line Trac tools
http://tamentis.com/projects/cartman/
ISC License
22 stars 10 forks source link

python setup.py install refuses to override an existing installation #11

Open strk opened 8 years ago

strk commented 8 years ago

I'm not sure if this is expected behavior but everytime I try to install an update version of cartman the installation fails unless I manually remove an installed file:

$ sudo python setup.py install
...
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1361, in get_metadata
    return self._get(self._fn(self.egg_info,name))
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1425, in _get
    return self.loader.get_data(path)
zipimport.ZipImportError: bad local file header in /usr/local/lib/python2.7/dist-packages/cartman-0.2.3-py2.7.egg
tamentis commented 8 years ago

No, it's not expected.

tamentis commented 8 years ago

I don't have this issue on Ubuntu 12.04, what OS are you running?

strk commented 8 years ago

Ubuntu 14.04.3 LTS