question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

can't install: Need to update pywin32 dependencies

See original GitHub issue
C:\Users\allen>pip list --outdated --format=columns | findstr docker
docker           2.6.1   3.3.0  wheel

produces the dependency chain:

Collecting pypiwin32==219; sys_platform == "win32" and python_version < "3.6" (from docker==3.3.0)
  Using cached https://files.pythonhosted.org/packages/a5/8d/739f12d811d19cd6686f97bb96b65b0e4c8ca428fb02581d872b912b14cf/pypiwin32-219-cp27-none-win_amd64.whl

but I am running the latest pywin32:

C:\Users\allen>pip list --format=columns | findstr pywin32
pywin32                      223
C:\Users\allen>pip show pywin32
Name: pywin32
Version: 223
Summary: Python for Window Extensions
Home-page: https://github.com/mhammond/pywin32
Author: Mark Hammond (et al)
Author-email: mhammond@skippinet.com.au
License: PSF
Location: c:\python27\lib\site-packages
Requires:
Required-by:
C:\Users\allen>python --version
Python 2.7.15
C:\Users\allen>ver

Microsoft Windows [Version 10.0.17134.48]

Not sure of why the version guards came (into requirements.txt/setup.py) in but pywin32 is supported on all Windows Python releases: https://github.com/mhammond/pywin32/releases

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:2
  • Comments:7

github_iconTop GitHub Comments

4reactions
johnthagencommented, Feb 23, 2022

Currently it’s not possible to install on Windows with Python 3.10 due to this issue.

ERROR: Could not find a version that satisfies the requirement pywin32==227; sys_platform == "win32" (from docker) (from versions: 302, 303)
ERROR: No matching distribution found for pywin32==227; sys_platform == "win32"

If you look at pywin32 227 files: https://pypi.org/project/pywin32/227/#files

There is no Windows wheel for Python 3.10.

At least pywin32==302 or newer is required for Windows support with Python 3.10: https://pypi.org/project/pywin32/302/#files

0reactions
viseshrpcommented, Jun 24, 2022

I have the same problem. Windows + Python 3.10 builds are failing because the pinned version of pywin32 in docker-py is 227, which does not have a Python 3.10 wheel.

Read more comments on GitHub >

github_iconTop Results From Across the Web

PYWIN32 upgrade via pip -- Error cannot uninstall... installed ...
I had a similar issue: pywin32 was coming from ActivePython and I was trying ... from pip and that that module has a...
Read more >
pywin32 · PyPI
Installing via PIP. You should install pywin32 via pip - eg,. python -m pip install --upgrade pywin32. If you encounter any problems when...
Read more >
Dependencies Management in Setuptools
When your project is installed (e.g., using pip), all of the dependencies not already installed will be located (via PyPI), downloaded, built (if...
Read more >
Installation - xlwings Documentation
For automating Excel, you'll need the following dependencies: ... The dependencies are automatically installed via conda or pip . If you would like...
Read more >
Install Python Packages via Pip without an Internet Connection
As the solution we downloaded the required Python package and its dependencies from the PyPI and put them in a local folder location...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found