Error deploy flask
Hii, im having a problem with my project, can someone help me
Project ID
0f9c813d-b8f5-4b7c-aa00-ad6f42a1ce5e
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
9 Replies
Project ID:
0f9c813d-b8f5-4b7c-aa00-ad6f42a1ce5e
Hello, could you share the whole log and the contents of your requirements.txt?
https://bookmarklets.up.railway.app/log-downloader/
By using this bookmarklet you can easily download the full log.
Looks like there is some issue with msqlclient but I'm not sure what it is off the top of my head. You could research into the errors in the logs
I did a quick search and I'm not sure there is currently a solution for you to use msqlclient. You could try to install the stuff manually as Brody has mentioned in the past.
https://nixpacks.com/docs/guides/configuring-builds But you're probably better off switching to postgres.
https://nixpacks.com/docs/guides/configuring-builds But you're probably better off switching to postgres.
Configuring Builds | Nixpacks
App source + Nix packages + Docker = Image
Hey @jonbeau, thank you for your time, i've figured it out, the problem was a compatibility error on pandas library
Great glad you figured it out! 👍