-
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
Commands not running in MacOS #29
Comments
Can you provide some details about which instructions you're using? When running containers, those commands run inside the container, not on the host macOS system. The container base images are based on Debian or Ubuntu, so apt-get is the correct way to do this. Also, can you provide the kind of Macbook Pro (whether it's Intel or Apple Silicon) and what version of macOS. |
Hello @hawk4031 . I was just following the instructions to deploy Pyrrha on my local machina from here: The error appears here: I am trying to deploy it in my Macbook Pro with an i7 Intel Processor and the Big Sur 11.6.8 version running. |
Hello @hawk4031. Any ideas around this? I have reviewed all the steps and nothing changes. Thank you |
I'll have a look and get back to you @Filosss |
The problem appears to be with the MariaDB package that pip is installing in that container ( One thing you can do for now is to set a specific version of the mariadb package in requirements.txt to a compatible version. The newest version of that package that I could get installed in the container is This also means we should make that change and put in a PR to lock it in. |
Hello.
I am trying to deploy the solution to test it in the my laptop, a MACbookPro, but looks like after following all the steps I can not start the containers due in the deploy scrip there are commands which don't run on mac.
"failed to solve: executor failed running [/bin/sh -c pip install --upgrade pip && pip install --upgrade pipenv && apt-get update && apt install -y build-essential && apt install -y libmariadb3 libmariadb-dev && pip install --upgrade -r /app/requirements.txt]: exit code: 1"
I guess I am close, most of the containers are completed:
docker images | grep pyrrha
pyrrha-rulesdecision latest 76e4f428edee About an hour ago 333MB
pyrrha-dashboard latest 21d85a10f0a3 2 hours ago 1.24GB
pyrrha-mqttclient latest 152c2fbc940f 2 hours ago 128MB
pyrrha-api-auth latest 1789bd869f1b 2 hours ago 781MB
pyrrha-simulator latest 1451b01156f2 2 hours ago 121MB
pyrrha-wss latest 0d0e3f5ca50a 2 hours ago 108MB
pyrrha-mariadb latest 8057693aceba 4 hours ago 389MB
I guess the solution should be around modifying this commands, like apt-get for brew, removing the -y, etc.
In fact I have tried to run it manually removing all these "non mac" commands, and with success. But when I run again the scrip for deploy fails.
Any options about updating these lines?
Thank you for the support.
The text was updated successfully, but these errors were encountered: