Closed sjanefullerton closed 9 months ago
Hi, I had the same problem with installing docker-compose.
I think python 3.11 is not compatible with docker-compose so you have to use python 3.6.
Thank you! When I use python 3.6 to install docker-compose, I am still getting the following errors:
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-e6nnlkk_/cryptography/setup.py", line 18, in <module>
from setuptools_rust import RustExtension
ModuleNotFoundError: No module named 'setuptools_rust'
=============================DEBUG ASSISTANCE==========================
If you are seeing an error here please try the following to
successfully install cryptography:
Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
=============================DEBUG ASSISTANCE==========================
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-e6nnlkk_/cryptography/
I think python3 -m pip install --upgrade pip
solves this.
Thank you!
I am unfortunately still running into issues running docker-compose build
.
Now that I have successfully upgraded pip3 and installed docker-compose, I am getting the following error:
lambda-server:~/flask-on-docker (main *%=) $ docker-compose build
/home/sfullerton24/.local/lib/python3.6/site-packages/paramiko/transport.py:32: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6.
from cryptography.hazmat.backends import default_backend
Building web
[+] Building 0.0s (1/1) FINISHED
=> ERROR [internal] load build definition from Dockerfile 0.0s
------
> [internal] load build definition from Dockerfile:
------
error: failed to solve: failed to read dockerfile: failed to prepare as 6j4r1r6863q7xx1ifpd48ju54: symlink ../6j4r1r6863q7xx1ifpd48ju54/diff /home/sfullerton24/.local/share/docker/overlay2/l/M4D5PWBKP722SIEKNSYODYOBQU: no such file or directory
ERROR: Service 'web' failed to build : Build failed
I don't understand what the error is telling me. I have tried the troubleshooting suggestions in the other issue threads as well.
Hello,
I am working on the flask-on-docker homework and am running into errors when building the image. I am not understanding what these error messages are telling me so I am unable to troubleshoot what is going wrong.
When I run the following
I get the following error message:
I also tried to install docker-compose:
I get these errors as well: