I know "multiple-versions-of-python-mess" is nothing new but my question is more specific. I’m learning how to use venv (and pyenv, etc.) and I’ve run into a strange situation. I have a number of different versions of python installed (as one does). I use one of them, 3.9, to create a venv: $ /usr/local/Cellarfirstname.lastname@example.org/3.9.12_1/bin/python3 -m venv… Read More pip and python referring to different interpreters
I am working with the following Dockerfile. FROM ubuntu RUN apt-get update RUN apt-get install -y \ python3.9 \ python3-pip COPY . /app WORKDIR /app RUN pip install -r requirements.txt EXPOSE 8501 ENTRYPOINT [ "streamlit", "run" ] CMD ["app.py"] Whenever, I rebuild the image, the docker uses the previously cached version of image and builds… Read More How to make docker-build to cache the pip installs as well?
I have quick question, becouse I have a weird bug. In my code I create virtual environment for python and then install all packages from file using pip install -r <file name>. When I run it locally everything is ok, when I run it remotely on machine it fails and shows that some package is… Read More Does python file with packages to install must be called requirements.txt?