-
Notifications
You must be signed in to change notification settings - Fork 3
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
Cannot assign requested address #1
Comments
This is thought to be used inside of a docker. I notice you are using raspberries. One option would be to try to run the commands from the Dockerfile on the raspberry. |
Why is your dockerfile doing: "sudo pip install". the code in github does not have that sudo. and you don't need to sudo inside containers. |
That was me playing around. I was getting the exact error with the original dockerfile too |
exec user process caused "exec format error" means "you are trying to run container for other architecture. RaspberryPi is arm architecture. That "python:3.5.2-alpine" does not have an arm architecture version. Try changing for "python:3-slim". Check https://hub.docker.com/_/python?tab=tags&page=4 for other options. |
Ah thanks! That was the issue. Sorry for all these questions. I'm very new to Docker. I checked the container and its excited. The logs show it cannot assign the requested address to the TCPSocket. I thought that might be a port issue maybe. But then tried with a completely different port and I still have the same error |
try "--network host" on the docker command to bind to the port to the host network. |
It doesn't like that either |
Hey, I tried running your python but it doesn't seem to work
I'm not sure why this is happening. Any chance you could help me out?
The text was updated successfully, but these errors were encountered: