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

Getting an error for python-magic-bin==0.4.14 #38

Open
harigaranrbt opened this issue Mar 8, 2023 · 0 comments
Open

Getting an error for python-magic-bin==0.4.14 #38

harigaranrbt opened this issue Mar 8, 2023 · 0 comments

Comments

@harigaranrbt
Copy link

ERROR: Could not find a version that satisfies the requirement python-magic-bin==0.4.14 (from versions: none)
ERROR: No matching distribution found for python-magic-bin==0.4.14
The command '/bin/sh -c pip3 install -r requirements.txt' returned a non-zero code: 1

This is my docker container file

FROM tiangolo/uvicorn-gunicorn:python3.11
RUN apt-get update && apt-get install -y libmagic-dev
WORKDIR /app
COPY requirements.txt .
RUN pip3 install -r requirements.txt
COPY . .
EXPOSE 8000
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]

This is my requirements.txt file

fastapi==0.92.0
uvicorn==0.15.0
sqlalchemy==1.4.23
pymysql==1.0.2
mysqlclient==2.0.3
urllib3==1.26.14
boto3==1.26.86
loguru==0.6.0
python-multipart==0.0.6
python-magic-bin==0.4.14

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