Menu

#10 Unable to uninstall pywin32

v2.7.3.2
Fixed
nobody
None
High
Defect
2012-10-15
2012-10-12
Anonymous
No

Originally created by: indranil...@gmail.com
Originally owned by: pierre.raybaut

What steps will reproduce the problem?
1. Open the package manager
2. Try to install (by dragging a package) or uninstall by selecting a package from the appropriate windows in the package manager.
3. The package I tried to install is PyWin32 217 and the package I tried to install is Pywin32 213.

What is the expected output? What do you see instead?
I expected to install/uninstall the packages. However, I get the following error in both cases:

Error message:
[Error 5] Access is denied: 'C:\\EXECUTABLES&PROGRAMS\\WinPython\\WinPython-32bit-2.7.3.1\\python-2.7.3\\Lib\\site-packages\\win32\\win32gui.pyd'

What version of the product are you using? On what operating system?
WinPython version: WinPython-32bit-2.7.3.1
Operating system: Windows 7 64-bit

Please provide any additional information below.
Also, following the error, I am unable to launch the package manager ever again.

Discussion

  • Anonymous

    Anonymous - 2012-10-13

    Originally posted by: pierre.raybaut

    When you chose the title of this Issue ("Unable to install/uninstall packages"), you were very pessimistic :)

    Actually the problem here is only that you are unable to uninstall pywin32. As a consequence, you are unable to upgrade or downgrade this package.

    The reason is that pywin32 is used by the WinPython Control Panel... so it can't uninstall a package that is required for it to run properly.

    I have to take this into account and warn the user that if he wants to uninstall a package that is required by WinPython Control Panel, he must do it from the command line.

    For now the command line counterpart of WinPython Control Panel is not ready yet. It's really nothing to do, it's just that I was waiting for the day when I would be forced to implement it. All the background code is already there, I only have to write a tiny script to allow the user to install/uninstall packages from the command line.

    Blockedon: winpython:11
    Summary: Unable to uninstall pywin32
    Owner: pierre.raybaut
    Labels: -Priority-Medium Priority-High Milestone-v2.7.3.2
    Status: Accepted

     
  • Anonymous

    Anonymous - 2012-10-14

    Originally posted by: indranil...@gmail.com

    That's interesting, and it makes sense (I should have tried some other package). Looking forward to the command line counterpart of WinPython Control Panel. I really feel that this can be a great tool (and I shall recommend it to anyone) starting out with Python for scientific problems. Kudos to you for this. (By the way, I also use Spyder regularly and I feel it is a great tool).

    Thank you very much,
    Indranil.

    P.S. Just for information, I need to uninstall pywin32 217 and install pywin32 213 as the DDE module in pywin32 is broken since build 214  [http://sourceforge.net/mailarchive/forum.php?thread_name=From_noreply%40sourceforge.net_Wed_Oct_19_18%3A10%3A35_2011&forum_name=pywin32-bugs].

     
  • Anonymous

    Anonymous - 2012-10-15

    Originally posted by: pierre.raybaut

    This issue was updated by [r9849cb631123].

    To test this new command line interface, just type 'wppm --help' inside the
    WinPython command window (which may be opened by executing the launcher named
    'Command prompt.exe'). Upgrading a package (i.e. uninstall the existing version
    and install a new one) like pywin32 should now be possible by entering one of
    the following equivalent commands:

    wppm pywin32-217.win32-py2.7.exe
    wppm -i pywin32-217.win32-py2.7.exe
    wppm --install pywin32-217.win32-py2.7.exe

    Status: Fixed

     

    Last edit: Anonymous 2017-07-31

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.