Issue #1289 new

pip uninstall cherrypy error

created an issue

Installing cherrypy with pip is great!

PS C:\> pip install cherrypy
Downloading/unpacking cherrypy
  Downloading CherryPy-3.2.4.tar.gz (424Kb): 424Kb downloaded
  Running egg_info for package cherrypy
Installing collected packages: cherrypy
  Running install for cherrypy
Successfully installed cherrypy

(aside: I can't import cherrypy due to 'ImportError: cannot import name CREATE_NEW_PROCESS_GROUP')

But the issue I'm reporting is that then I can't uninstall cherrypy

PS C:> pip uninstall cherrypy

Uninstalling CherryPy:
Proceed (y/n)? y
Traceback (most recent call last):
  File "C:\Python26\lib\site-packages\pip\", line 115, in main, args)
  File "C:\Python26\lib\site-packages\pip\commands\", line 37, in run
  File "C:\Python26\lib\site-packages\pip\", line 763, in uninstall
  File "C:\Python26\lib\site-packages\pip\", line 452, in uninstall
  File "C:\Python26\lib\site-packages\pip\", line 1464, in remove
    renames(path, new_path)
  File "C:\Python26\lib\site-packages\pip\", line 312, in renames
    shutil.move(old, new)
  File "C:\Python26\lib\", line 260, in move
    raise Error, "Cannot move a directory '%s' into itself '%s'." % (src, dst)
Error: Cannot move a directory 'c:\python26\lib\site-packages\cherrypy' into itself 'c:\python26\lib\site-packages\c

Comments (1)

  1. Jason R. Coombs

    That looks like a pip bug to me. At least, pip would be the first place to look. It's likely, though, that once pip is investigated it will point to something that CherryPy is doing uniquely to trigger the behavior. I would report this bug with the pip project first.

  2. Log in to comment