Tallmad
Tallmad

Reputation: 2181

How to uninstall Python site-package which was installed using "python setup.py develop"?

pip freeze result show:

-e [email protected]:Tallmad/zeus@6155c80f5b87cba0aeb8c1bfb6fc6b6dd86b0fa8#egg=zeus-dev

It fails:

pip uninstall [email protected]:Tallmad/zeus@6155c80f5b87cba0aeb8c1bfb6fc6b6dd86b0fa8#egg

Upvotes: 1

Views: 5630

Answers (2)

Chenster  Liu
Chenster Liu

Reputation: 61

  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

Upvotes: 0

Tallmad
Tallmad

Reputation: 2181

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

Upvotes: 2

Related Questions