-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Not able to install pywin32 #468
Comments
Tried with |
|
Yes i have a windows 10 Laptop. I am able to install it |
Link to pywin32 |
That module is for Windows only; it won't work in a Linux container.
You need to switch to Windows containers if you want a chance at that
module working (but even then, it may or may not work inside a container,
since the Windows container environment is more minimal than a standard
Windows installation).
|
What would be the solution to it. As in Windows Container too its not working |
In Windows Container getting error for all pip command. |
That looks to me like #359 |
I've just tested this again today with the latest $ docker pull python:3.8
3.8: Pulling from library/python
Digest: sha256:8e7dd58a4cb8a8b703ae2fe90cd67e79576524ff388426331151b50a5850b359
Status: Image is up to date for python:3.8
docker.io/library/python:3.8
$ docker run -it --rm python:3.8 powershell
Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.
PS C:\> pip install pywin32
Collecting pywin32
Downloading pywin32-300-cp38-cp38-win_amd64.whl (9.3 MB)
|????????????????????????????????| 9.3 MB 3.3 MB/s
Installing collected packages: pywin32
Successfully installed pywin32-300
PS C:\> pip install pypiwin32
Collecting pypiwin32
Downloading pypiwin32-223-py3-none-any.whl (1.7 kB)
Requirement already satisfied: pywin32>=223 in c:\python\lib\site-packages (from pypiwin32) (300)
Installing collected packages: pypiwin32
Successfully installed pypiwin32-223 |
I am trying to build an python app in docker container but pywin32 not getting installed.
FROM python:3.8.2
WORKDIR /usr/src/app
RUN python -m pip install -U pip
RUN pip install wmi
RUN python -m pip install pywin32
Its throwing error as
ERROR: Could not find a version that satisfies the requirement pywin32 (from versions: none)
ERROR: No matching distribution found for pywin32
The text was updated successfully, but these errors were encountered: