1

pip freeze result show:

-e git+git@github.com:Tallmad/zeus@6155c80f5b87cba0aeb8c1bfb6fc6b6dd86b0fa8#egg=zeus-dev

It fails:

pip uninstall git+git@github.com:Tallmad/zeus@6155c80f5b87cba0aeb8c1bfb6fc6b6dd86b0fa8#egg

Tallmad
  • 1,951
  • 4
  • 22
  • 29
  • Delete your virtualenv and start over: `deactivate; rmvirtualenv ; mkvirtualenv ` If you are not using virtualenvwrapper, consider adding this to your stack now: http://www.doughellmann.com/projects/virtualenvwrapper/ – hughdbrown Oct 12 '12 at 15:08
  • There are many other packages in my virtualenv. And I just want to uninstall my project while remain others – Tallmad Oct 12 '12 at 16:07
  • Try running the install again with --record to get a list of all the files it touches – nathancahill Oct 12 '12 at 17:49
  • 1
    Start here: https://www.google.com/search?q=virtualenv+uninstall+git+package End up here: http://stackoverflow.com/questions/8926566/how-to-uninstall-a-git-repo-using-pip – hughdbrown Oct 12 '12 at 19:01

2 Answers2

2

I've solved it. Two steps:

Step 1: I install my project 'zeus'

python setup.py install

Setp 2: uninstall it:

pip uninstall zeus

Done

Tallmad
  • 1,951
  • 4
  • 22
  • 29
0
  1. install again with --record to store installing files.

    python setup.py install --record install.log

  2. manually remove those files from the record file

    xargs rm -rf < install.log