T
Termux3mo ago
Ari ✨

Issues with a python script and bcrypt

Hi, I'm trying to host a script on my phone which uses bcrypt, the issue is I can't seem to get it working. I've tried installing rust and then building bcrypt but that doesn't work because it doesn't seem to detect it And i've tried using pkg to install python-bcrypt but then when running the python script the python script can't find it (gives me an error on the import bcrypt line)
8 Replies
Ari ✨
Ari ✨OP3mo ago
*to specify pip install bcrypt says that it can't find the rust compiler
tomikun
tomikun2mo ago
send like the actual error
Cuteness
Cuteness2mo ago
Please show the full error. Without it, we cannot know for certain what the issue is. Also, did you install rust already?
Ari ✨
Ari ✨OP2mo ago
yeah with
pkg install rust
pkg install rust
just realized i should've tried rustup
Ari ✨
Ari ✨OP2mo ago
Ari ✨
Ari ✨OP2mo ago
ama go try to use rustup oh right no android build
Biswa96
Biswa962mo ago
there is already a prebuilt python-bcrypt package. https://github.com/termux/termux-packages/tree/master/packages/python-bcrypt
Ari ✨
Ari ✨OP2mo ago
Oh

Did you find this page helpful?