Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6669519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:09:34+00:00 2026-05-26T03:09:34+00:00

According to another question , pip offers a facility for uninstalling eggs, which it’s

  • 0

According to another question, pip offers a facility for uninstalling eggs, which it’s help also indicates.

I have a project that, once installed, has a structure in my local site-packages folder that looks like this:

projecta/
projecta-1.0-py2.6.egg-info/

Using an up to date version, pip uninstall projecta asks me the following question:

  /path/to/python2.6/site-packages/projecta-1.0-py2.6.egg-info
Proceed (y/n)?

Answering y will remove the .egg-info directory, but not the main projecta directory, without saying there was any sort of error. Why doesn’t pip manage or know to remove this directory?

The project itself is installed via a setup.py file using distutils. Are there any special settings I could/should use in that file to help pip with the removal process?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T03:09:35+00:00Added an answer on May 26, 2026 at 3:09 am

    If I recall correctly pip knows how to uninstall packages installed via setuptools/distribute, not raw distutils.

    There are some setuptools‘s features pip is based on – like --record option, which stores package metadata (and it is what allows pip to uninstal package related files).

    Try doing:

    $ pip install /path/to/projecta
    $ pip uninstall projecta
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

According to this answer on another question, the Collapsed event of a ContextMenu is
I have an xsd which has 3 imports to another xsd, 8 complex types
Another way to ask this question is: what is Inversion of Control according to
I don't think this is not another resize iframe according to content height question.
I asked another question poorly so i'll ask something else. According to http://www.c-point.com/javascript_tutorial/special_characters.htm there
According to another question, you can view your skin with this code: <applet code=net.minecraft.skintest.ModelPreviewApplet
According to another question I can select individual XML fields with a YQL query
I would like to base one component's x and y cooridnates according to another,
According to what I have found so far, I can use the following code:
According to the answers to this question, I cannot embed a file version in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.