cartman icon indicating copy to clipboard operation
cartman copied to clipboard

python setup.py install refuses to override an existing installation

Open strk opened this issue 9 years ago • 3 comments

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

strk avatar Nov 10 '15 07:11 strk

No, it's not expected.

tamentis avatar Nov 10 '15 13:11 tamentis

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

tamentis avatar Nov 25 '15 21:11 tamentis

Ubuntu 14.04.3 LTS

strk avatar Nov 25 '15 21:11 strk