Can't install win32gui

后端 未结 3 651
鱼传尺愫
鱼传尺愫 2020-12-16 12:59

I\'m trying to install win32gui with pip but I get an error:

C:\\Users\\משתמש>pip install win32gui

Collecting wi         


        
相关标签:
3条回答
  • 2020-12-16 13:11

    Win32gui isn't compatible with 3.7.

    3.7 was realeased in 2018 and the latest version of win32gui was released in August 2017.

    I would suggest installing 3.6 or lower as a workaround.

    EDIT:

    The answer by @bronson beat me to it by 9 days, but installing pywin32 with pip install pywin32 will install win32gui alongside modules for interfacing with windows.

    0 讨论(0)
  • 2020-12-16 13:24

    See this link: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pywin32. It may be of help to you.

    Step 1: Download the pywin32....whl
    Step 2: pip install pywin32....whl
    Step 3: C:\python32\python.exe Scripts\pywin32_postinstall.py -install
    Step 4: python
    >>> import win32gui
    

    0 讨论(0)
  • 2020-12-16 13:31

    Install pywin32. That gives you win32gui.

    pip install pywin32

    0 讨论(0)
提交回复
热议问题