Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

docker-compose build 报错 #7

Open
BigYoungs opened this issue Feb 25, 2020 · 1 comment
Open

docker-compose build 报错 #7

BigYoungs opened this issue Feb 25, 2020 · 1 comment

Comments

@BigYoungs
Copy link

报错内容:ERROR: Service 'server' failed to build: The command '/bin/sh -c pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple' returned a non-zero code: 2

这是因为{WatchAD-Server}/server/Dockerfile中的pip命令导致,我的环境中pip 使用的是python 2.7的,此项目要用python 3 所以遇到此问题,可以修改此命令为pip3

@Qianlitp
Copy link
Owner

这个项目要求使用python3环境

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

No branches or pull requests

2 participants