Category : setuptools

I’m using Docker on Ubuntu 20.04 I try to upgrade pip’s setuptools. First, I upgrade the pip using: /usr/bin/pip install –upgrade pip and it’s successfully done. But the thing is when I try to run: /usr/bin/pip install –upgrade setuptools it returns the error: Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-JoWuTW/setuptools Storing ..

Read more

I’m trying to build docker contianer in order to deploy my Dash application on AWS Elastic Beanstalk. My project includes the package dash-1.19.0. While building, I keep receiving the following error: error in dash setup command: ‘extras_require’ must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers. Complete ..

Read more

I searched a lot to get an answer to below problem and tried to fix the issue but didn’t get success. It will be a great help from your reply. Below is the instructions in "Dockerfile", FROM alpine:latest MAINTAINER Basavaraj RUN apk add –no-cache python3 py3-pip && pip3 install –upgrade pip WORKDIR /api-auto COPY . ..

Read more

I am trying to rewrite my Python Docker build to a multistage build. I have been mimicking this guide in order to do so. Here is my Dockerfile: FROM python:3.8-slim AS compile RUN apt-get upgrade && apt-get update RUN apt-get install -y –no-install-recommends build-essential gcc RUN python -m venv /opt/venv ENV PATH=’/opt/venv/bin:$PATH’ COPY requirements.txt . ..

Read more