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

安装过程中遇到报错 #14

Open
chauncyman opened this issue Sep 25, 2020 · 4 comments
Open

安装过程中遇到报错 #14

chauncyman opened this issue Sep 25, 2020 · 4 comments

Comments

@chauncyman
Copy link

运行docker-compose up命令后,出现以下错误:

Step 14/17 : WORKDIR /opt/authcheck
 ---> Using cache
 ---> cd61bb3f0625
Step 15/17 : RUN python3 -m pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
 ---> Running in 9b546ff40198/usr/bin/python3: No module named pip
ERROR: Service 'authcheck' failed to build: The command '/bin/sh -c python3 -m pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com' returned a non-zero code: 1

恳请大佬抽空帮忙看看是怎么回事,感谢!!

@ChenYun4164
Copy link

同错误

@ChenYun4164
Copy link

解决了,在配置文件 Dockerfile 中 RUN python3 -m pip ........ 语句之前加上 RUN apk add --update py-pip

@chauncyman
Copy link
Author

解决了,在配置文件 Dockerfile 中 RUN python3 -m pip ........ 语句之前加上 RUN apk add --update py-pip

感谢大佬!解决了

@RonnieNiu
Copy link

解决了,点赞。

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

3 participants