ERROR: failed to solve: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1

baraja-cristianTRIAL

8 months ago

In deploying my Flask application, I have encountered a problem with MySQL related dependencies in my requirements file. Specifically, I am having difficulties with one of the MySQL libraries. To be exacts they are these:
Flask-MySQLdb==2.0.0
mysqlclient==2.2.4
and with these others I am not having any problems they install correctly:
blinker==1.8.2
click==8.1.7
colorama==0.4.6
Flask==3.0.3
itsdangerous==2.2.0
Jinja2==3.1.4
MarkupSafe==2.1.5
Werkzeug==3.0.3

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

Solved

3 Replies

8 months ago

Try using a pure Python MySQL client instead.


baraja-cristianTRIAL

8 months ago

Thank you it worked, but why doesn't it work with the other dependencies?


8 months ago

A pure Python MySQL client doesn't require installing any additional system libraries.


Status changed to Solved brody 8 months ago