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

Cannot install on Windows #1926

Closed
Tabrizian opened this issue Feb 25, 2018 · 16 comments
Closed

Cannot install on Windows #1926

Tabrizian opened this issue Feb 25, 2018 · 16 comments
Milestone

Comments

@Tabrizian
Copy link

Tabrizian commented Feb 25, 2018

When I try to install docker-py using pip install docker, I get the error below:

Could not find a version that satisfies the requirement pypiwin32==220; sys_platform == "win32" and python_version >= "3.6" (from docker) (from versions: 219)
No matching distribution found for pypiwin32==220; sys_platform == "win32" and python_version >= "3.6" (from docker)
@Tabrizian
Copy link
Author

I think it is because of this line in the dependencies

pypiwin32==220; sys_platform == 'win32' and python_version >= '3.6'

@shin-
Copy link
Contributor

shin- commented Feb 26, 2018

Are you using an implementation other than CPython?

@Tabrizian
Copy link
Author

No, I'm using CPython.

>>> import platform
>>> platform.python_implementation()
'CPython'

@shin-
Copy link
Contributor

shin- commented Feb 26, 2018

Oh, sorry ; are you on Python 3.7?

@Tabrizian
Copy link
Author

Yes

@shin-
Copy link
Contributor

shin- commented Feb 26, 2018

Okay ; unfortunately, that version isn't supported yet.

@Tabrizian
Copy link
Author

Could you please say why this installation fails? I'm just wondering about it.

@shin-
Copy link
Contributor

shin- commented Feb 26, 2018

The pypiwin32 package has a 220 release that's compiled for Python 3.6 and a 219 release that works with 2.7-3.5. The newer 223 release may work with 3.7, but I haven't had time to validate it yet.

@Tabrizian
Copy link
Author

Tabrizian commented Feb 26, 2018 via email

@zhangxuehong
Copy link

When I run “”pip install docker” on windows cmd(administror), i got the error, PermissionError: [Errno 13] Permission denied: 'd:\develope\python35\Lib\site-packages\pypiwin32_system32\pythoncom35.dll'

i use python 3.5

@montao
Copy link

montao commented Jun 25, 2018

Still no python 3.7 support? The awsebcli seems to depend on docker-py. I get this error message with python 3.7:


 Could not find a version that satisfies the requirement pypiwin32==220; sys_platform == "win32" and python_version >= "3.6" (from docker<4.0,>=3.3.0->docker-compose<1.22.0,>=1.21.2->awsebcli) (from versions: 219, 223)
No matching distribution found for pypiwin32==220; sys_platform == "win32" and python_version >= "3.6" (from docker<4.0,>=3.3.0->docker-compose<1.22.0,>=1.21.2->awsebcli)

@jdstraye
Copy link

jdstraye commented Jul 25, 2018

Yes, I have the same problem, trying to install aws-sam-cli. I just upgraded to pip 18.0 and when I tried again to "pip install aws-sam-cli," a lot of wheels were downloaded/updated. I was hopeful, but I ran into the same "requirements not met" problem.

I would love for this to be fixed, but I also have work to do. It seems I can proceed by reverting to Python 3.6.6. When do you expect this compatibility issue to be fixed?

@shin- , you mentioned that the 223 release may work. I notice that both docker and aws-sam-cli have the requirement pypiwin32==220 in the error reports. How can we try 223 to see if it works? Hopefully, this is not as basic as it sounds. If they were specified in a local requirements.txt I could do it, but these requirements seem to be coming from elsewhere.

@shin-
Copy link
Contributor

shin- commented Jul 25, 2018

Next release (3.5.0) will have Python 3.7 support. Thank you for your patience.

@jongio
Copy link

jongio commented Aug 3, 2018

@shin- Do you have rough ETA for 3.5.0? Thanks!

@shin- shin- added this to the 3.5.0 milestone Aug 10, 2018
@shin-
Copy link
Contributor

shin- commented Aug 10, 2018

ETA: an hour or so 🙂

@shin- shin- closed this as completed Aug 10, 2018
@DarthJahus
Copy link

Best ETA ever!

C:\Python37\Scripts\pip.exe install docker
...
Successfully installed docker-3.5.0 docker-pycreds-0.3.0

Thanks, @shin-!

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

No branches or pull requests

7 participants