cartman
cartman copied to clipboard
python setup.py install refuses to override an existing installation
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
No, it's not expected.
I don't have this issue on Ubuntu 12.04, what OS are you running?
Ubuntu 14.04.3 LTS