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

Issue building Image with Docker and Makefile in VSC #30

Open
Tickingsushi opened this issue May 5, 2021 · 0 comments
Open

Issue building Image with Docker and Makefile in VSC #30

Tickingsushi opened this issue May 5, 2021 · 0 comments

Comments

@Tickingsushi
Copy link

Tickingsushi commented May 5, 2021

I tried to build this image using Dockerfile and the Makefile. but I got this error. It worked for me previously but today decided not to work.

` => ERROR [10/17] RUN python3.8 -m easy_install pip                                                                                                                                                                      1.4s 
------
 > [10/17] RUN python3.8 -m easy_install pip:
#13 1.063 Searching for pip
#13 1.063 Reading https://pypi.python.org/simple/pip/
#13 1.200 Couldn't find index page for 'pip' (maybe misspelled?)
#13 1.200 Scanning index of all packages (this may take a while)
#13 1.200 Reading https://pypi.python.org/simple/
#13 1.290 No local packages or download links found for pip
#13 1.291 error: Could not find suitable distribution for Requirement.parse('pip')
------
executor failed running [/bin/sh -c python3.8 -m easy_install pip]: exit code: 1
make: *** [Makefile:13: build] Error 1`

So to make image, in the dockerfile, under "#This is needed for a Python3.8 quirk"

I replaced:
RUN python3.8 -m easy_install pip

with:

RUN wget https://bootstrap.pypa.io/get-pip.py
RUN python3.8 get-pip.py

and got that working in WSL using Ubuntu 20.04

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

1 participant