Python installation PyUserInput has been unable to install (time out)

PyUserInput needs to install PyHook and pywin32 first.
Please Baidu for specific installation. After installation, continue to install PyUserInput

pip install PyUserInput


WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', timeout('_ssl.c:1029: The handshake operation timed out'))': /simple/PyUserInput
I get an error and can't install it.
After searching the information, I found that it can be installed through the source code:

您可以从Github下载zip文件,
也可以从PyPI下载tar.gz文件,其中包含源代码。
将文件解压缩到目录后,应将终端会话导航
到包含setup.py的目录。
下一步是键入以下命令:
python setup.py install

The source code download address abroad is (it may be slow to open, but it can be opened): https://pypi.org/project/PyUserInput/#files For details of
domestic acceleration, please see here

Guess you like

Origin blog.csdn.net/a12355556/article/details/114671543