byob
byob copied to clipboard
cant run run.py please help me i am beging to you please
Traceback (most recent call last):
File "/home/kali/byob/web-gui/run.py", line 1, in
please tell me how to fix this please
I have the same problem!! PLS help!!
#666 its the same problem. Check here for a sulation
Stale issue message
Can Somone fix this issue?
just install requirements.txt, or manually install every single module that pops up an error
run "pip install flask_login"
try sudo apt install flask_login I've done that before
try sudo apt install flask_login I've done that before
Still not working
I have the same issue. I am trying to run this through Parrot6 security edition.
I have been all over the internet trying to find a solution to this issue. I have read places where people can simply > sudo pip install flask_login - I get this message when I try to install from pip. Anyone else this far down the rabbit hole? Thoughts?
error: externally-managed-environment
× This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.11/README.venv for more information
** this is my first post. I'm new here, so if more info is needed or this is not helpful please let me know. **
I was able to get past the initial setup. This is what I did: https://github.com/malwaredllc/byob/issues/713#issuecomment-2189276221
try sudo apt install flask_login I've done that before
how were you able to get flask through apt? don't you have to get it from pip? as it's python...?
Suggestion: Use pip install instead of apt to install packages
To streamline the installation process, it's recommended to use pip install
instead of apt
. For instance, to install Flask, you can run:
pip install flask
Solution for ImportError in app.py
The issue stems from app.py
attempting to import create_app
from buildyourownbotnet
, but create_app.py
is missing from its expected location. This causes the import to fail with the following traceback:
Traceback (most recent call last):
File "/home/kali/byob/web-gui/run.py", line 1, in <module>
from buildyourownbotnet import create_app
File "/home/kali/byob/web-gui/buildyourownbotnet/__init__.py", line 8, in <module>
from flask_login import LoginManager
ModuleNotFoundError: No module named 'flask_login'
same issue !! any soultions ??
#666 its the same problem. Check here for a sulation
run it again using a venv (source venv/bin/activate) you wont have to use python3 and can use regular python and can automatically install python packages. and can run.py without python3. but keep in mind youll have to backdate your python to 3.7 version because python 3.11 doesn't support numpy==1.21.2
same issue !! any soultions ??
^^^ just posted the solution but you will bottleneck if you don't backdate your python.
#666 its the same problem. Check here for a sulation
run it again using a venv (source venv/bin/activate) after running "python3 -m venv venv"(may have you install deps using apt but it'll tell you the package name ). you wont have to use python3 and can use regular python and can automatically install python packages. and can run.py without python3. but keep in mind youll have to backdate your python to 3.7 version because python 3.11 doesn't support numpy==1.21.2