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
Percy
Percy15mo ago
Project ID: 0f9c813d-b8f5-4b7c-aa00-ad6f42a1ce5e
jonbeau
jonbeau15mo ago
Hello, could you share the whole log and the contents of your requirements.txt?
jonbeau
jonbeau15mo ago
https://bookmarklets.up.railway.app/log-downloader/ By using this bookmarklet you can easily download the full log.
jonbeau
jonbeau15mo ago
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
jonbeau
jonbeau15mo ago
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
[phases.setup]
aptPkgs = ['...', 'libmysqlclient-dev']
[phases.setup]
aptPkgs = ['...', 'libmysqlclient-dev']
But you're probably better off switching to postgres.
Configuring Builds | Nixpacks
App source + Nix packages + Docker = Image
cesarcosta16
cesarcosta16OP15mo ago
Hey @jonbeau, thank you for your time, i've figured it out, the problem was a compatibility error on pandas library
jonbeau
jonbeau15mo ago
Great glad you figured it out! 👍
Want results from more Discord servers?
Add your server