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

docker-compose up -d is error . #92

Open
w796933 opened this issue Apr 16, 2021 · 1 comment
Open

docker-compose up -d is error . #92

w796933 opened this issue Apr 16, 2021 · 1 comment

Comments

@w796933
Copy link

w796933 commented Apr 16, 2021

Step 6/10 : RUN pipenv install --system --dev --deploy
---> Running in 1dfbb88fe4c8
Installing dependencies from Pipfile.lock (fc7fa7)…
An error occurred while installing uvloop==0.15.1; sys_platform != 'win32'! Will try again.
Installing initially–failed dependencies…
Looking in indexes: https://pypi.python.org/simple
Collecting uvloop==0.15.1
Using cached uvloop-0.15.1.tar.gz (2.1 MB)

ERROR: Command errored out with exit status 1:
 command: /usr/local/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-i0e0pcsx/uvloop_bd47fed1e1c1482996c798433cf0622c/setup.py'"'"'; __file__='"'"'/tmp/pip-install-i0e0pcsx/uvloop_bd47fed1e1c1482996c798433cf0622c/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-jofc99l7
     cwd: /tmp/pip-install-i0e0pcsx/uvloop_bd47fed1e1c1482996c798433cf0622c/
Complete output (5 lines):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-install-i0e0pcsx/uvloop_bd47fed1e1c1482996c798433cf0622c/setup.py", line 5, in <module>
    raise RuntimeError('uvloop requires Python 3.7 or greater')
RuntimeError: uvloop requires Python 3.7 or greater
----------------------------------------

WARNING: Discarding https://files.pythonhosted.org/packages/94/98/9dc814f391b2293ecc790b9752e005296c69c3694fd9975b6cb77c448135/uvloop-0.15.1.tar.gz#sha256=7846828112bfb49abc5fdfc47d0e4dfd7402115c9fde3c14c31818cfbeeb63dc (from https://pypi.org/simple/uvloop/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement uvloop==0.15.1
ERROR: No matching distribution found for uvloop==0.15.1

The command '/bin/sh -c pipenv install --system --dev --deploy' returned a non-zero code: 1
ERROR: Service 'api' failed to build : Build failed

@homicida2000
Copy link

go ./api/Dockerfile

change First Line from "FROM python:3.6" to "FROM python:3.7"

and try again

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

2 participants