Cygwin Python
I am getting this result with Cygwin:
$ pip install pywin32
Collecting pywin32
ERROR: Could not find a version that satisfies the requirement pywin32 (from
versions: none)
ERROR: No matching distribution found for pywin32
Another issue said
just use the windows version of python
However I do not wish to do that. Can Cygwin Python work with PyWin32 somehow?
As a workaround, looks like you can get the file from here:
https://pypi.org/simple/pywin32
then rename similar to this:
pywin32-224-cp36-none-any.whl
then install:
pip install pywin32-224-cp36-none-any.whl
looks like you need to do this too:
python3 /bin/pywin32_postinstall.py
I am working on porting pywin32 to MinGW (inside MSYS2). The changes should improve compatibility with Cygwin too. But it's still going to need some additional work.
Some of the progress can be seen in https://github.com/msys2/MINGW-packages/pull/5615. I'm trying to get as much as possible merged back into pywin32.
@ghost interesting workaround, but i can't get it to work,
hans@DESKTOP-2LHJILI:~/tibia/pybot/fuk$ wget 'https://files.pythonhosted.org/packages/41/02/3d5014e3b70c950492ceb65785ef724d073785f02fd51401430fd5fef681/pywin32-224-cp36-cp36m-win32.whl#sha256=32b37abafbfeddb0fe718008d6aada5a71efa2874f068bee1f9e703983dcc49a'
--2022-05-07 13:18:52-- https://files.pythonhosted.org/packages/41/02/3d5014e3b70c950492ceb65785ef724d073785f02fd51401430fd5fef681/pywin32-224-cp36-cp36m-win32.whl
Resolving files.pythonhosted.org (files.pythonhosted.org)... 151.101.1.63, 151.101.65.63, 151.101.129.63, ...
Connecting to files.pythonhosted.org (files.pythonhosted.org)|151.101.1.63|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8352307 (8.0M) [binary/octet-stream]
Saving to: ‘pywin32-224-cp36-cp36m-win32.whl’
pywin32-224-cp36-cp36m-win32.whl 100%[===============================================================================>] 7.96M 6.06MB/s in 1.3s
2022-05-07 13:18:56 (6.06 MB/s) - ‘pywin32-224-cp36-cp36m-win32.whl’ saved [8352307/8352307]
hans@DESKTOP-2LHJILI:~/tibia/pybot/fuk$ ls
pywin32-224-cp36-cp36m-win32.whl
hans@DESKTOP-2LHJILI:~/tibia/pybot/fuk$ pip install pywin32-224-cp36-cp36m-win32.whl
ERROR: pywin32-224-cp36-cp36m-win32.whl is not a supported wheel on this platform.
hans@DESKTOP-2LHJILI:~/tibia/pybot/fuk$ mv pywin32-224-cp36-cp36m-win32.whl pywin32-224-cp36-none-any.whl
hans@DESKTOP-2LHJILI:~/tibia/pybot/fuk$ pip install pywin32-224-cp36-none-any.whl
ERROR: pywin32-224-cp36-none-any.whl is not a supported wheel on this platform.