Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cygwin Python #1378

Open
ghost opened this issue Jul 29, 2019 · 3 comments
Open

Cygwin Python #1378

ghost opened this issue Jul 29, 2019 · 3 comments

Comments

@ghost
Copy link

ghost commented Jul 29, 2019

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?

@ghost
Copy link
Author

ghost commented Jul 29, 2019

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

@joankaradimov
Copy link
Contributor

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 msys2/MINGW-packages#5615. I'm trying to get as much as possible merged back into pywin32.

@divinity76
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants