I am building a docker image, using this Dockerfile: This is the command I used: And it is giving this error: Why it can’t find tensorflow-cpu==2.7.0, when this TensorFlow version is available. What’s wrong? Here is my requirements.txt: What is not working: Just writing tensorflow in requirements.txt is also not working. Removing tensorflow from requirements.txt and adding this RUN python3.8
Tag: alpine-linux
How to solve “Could not find any Python installation to use” with docker node alpine Image when adding bcrypt to package.json?
Before I added bcrypt to my package.json, everything was working fine. Now, I get the error message below. This is an excerpt of my package.json: This is my dockerfile. I am using the offical node alpine image. I wonder if alpine has phyton already installed. I get this error message when I run docker-compose: How can I solve this issue?
apk python packages not installing in Alpine Docker Image
I have a dockerfile as below: When I got into the container with docker run -it –rm mycontainer /bin/sh cython appears not to be installed. What am I missing? Answer Alpine installed python pacakges using this path /usr/lib/python3.7/site-packages, just run the command inside the container and you will see the package is installed. All you need to add this path
No such file or directory “limits.h” when installing Pillow on Alpine Linux
I’m running alpine-linux on a Raspberry Pi 2. I’m trying to install Pillow via this command: This is the output from the command: I think this is probably the relevant section: My research shows it’s probably something with the header files. I have installed these: Answer Alpine Linux uses musl libc. You probably need to install musl-dev.