byob icon indicating copy to clipboard operation
byob copied to clipboard

No module named 'flask'

Open JuJuBunz opened this issue 1 year ago • 12 comments

When running the script run.py on a Ubuntu Virtual Machine I got this error:

Traceback (most recent call last): File "/home/jujubunz/byob/web-gui/run.py", line 1, in from buildyourownbotnet import create_app File "/home/jujubunz/byob/web-gui/buildyourownbotnet/init.py", line 2, in from flask import Flask ModuleNotFoundError: No module named 'flask'

I tried installing the requirements.txt if anyone could help me out that would be great! Thanks! @malwaredllc

JuJuBunz avatar Jul 04 '23 19:07 JuJuBunz

same bug

xer0xde avatar Jul 08 '23 15:07 xer0xde

Same here ✋

Collinsbrown7723 avatar Jul 09 '23 01:07 Collinsbrown7723

The project is dead. try a older version of flask.

lean-cc avatar Jul 16 '23 17:07 lean-cc

Same here

WaldperlachFabi avatar Sep 02 '23 19:09 WaldperlachFabi

Do ' sudo pip3 install flask ' im pretty sure thats how you typed it out.

zaylusz avatar Oct 14 '23 02:10 zaylusz

I use anaconda on window and it works.

ppaauuoo avatar Oct 26 '23 09:10 ppaauuoo

Are you using a virtual environment? I had the same issue and that helped. I deleted everything, reinstalled it, set up the virtual environment and ran the startup.sh file again.

DanceMonkey276 avatar Dec 07 '23 14:12 DanceMonkey276

WOW, yall dumb.

# use pip or pip3
pip3 install flash 

Tytan-Codes-Alt avatar Dec 12 '23 17:12 Tytan-Codes-Alt

The problem is, when it doesn‘t have Flask installed, there was a error installing the requirements, so none of them are installed. You would have to manually install every requirement but this would lead to version issues (certain packages need other versiona of other packages, so the other version will be overwritten) JuJuBunz, did you get any errors while running the startup.sh script? If you did, could you inform us about these?

DanceMonkey276 avatar Dec 12 '23 20:12 DanceMonkey276

Easily pip the flask which next you would need a flask package to ensure the flask installation run properly, someone should close this issue .....

ThePuteh avatar Jan 05 '24 06:01 ThePuteh

WOW, yall dumb.

# use pip or pip3
pip3 install flash 

flask the Flash ... 👍

ThePuteh avatar Jan 05 '24 06:01 ThePuteh