R
Railway15mo ago
mono

Package installation of cffi (python) fails because libffi-dev is missing

As the title says, installing cffi fails with an error. I think this is because the package libffi-dev is missing on the host. Here is the full error log:
11 Replies
Percy
Percy15mo ago
Project ID: N/A
mono
mono15mo ago
N/A One other issuer. My Teams plan is not recognized here.
root
root15mo ago
Try adding a nixpacks.toml to your project:
[phases.setup]
nixPkgs = ['...', 'libffi']
nixLibs = ['...', 'libffi']
[phases.setup]
nixPkgs = ['...', 'libffi']
nixLibs = ['...', 'libffi']
mono
mono15mo ago
Nice tip, but it doesn't solve it. Anyway, I solved the problem by switching to another lib.
Brody
Brody15mo ago
what did you end up using? for any future people who may come along with this same issue
mono
mono15mo ago
I moved from the argon2-cffi package to passlib.
mono
mono15mo ago
Sorry to come back to this topic. But it seems that passlib needs also the argon2-cffi package. So, I try your solution again and also update the argon2 package. And what should I say, it works now.
lionel
lionel13mo ago
how did you implement this?
Brody
Brody13mo ago
read up in the thread lol
lionel
lionel13mo ago
how did he switch libs?
Want results from more Discord servers?
Add your server