byob
byob copied to clipboard
having problems with run.py
when running run.py i get the message:
Traceback (most recent call last):
File "/home/brecken/byob/web-gui/run.py", line 1, in
Update: I am using Kali Linux and tried using venv and a clean install in venv, that has NOT fixed my issue.
Theory: going through the web-gui folder, I don't a .models to call db from, if anyone knows if this was (or is) a package for Python please tell.
If you haven't done so yet, you could try installing the requirements:
pip install -r requirements.txt
I would reccomend using a virtual environment for this project. You can do so by entering following command:
python3 -m venv venv
Then you activate the virtual environment using
source venv/bin/activate
You would have to do this before installing the requirements.
This all is for Linux. If you need any more help, feel free to add another comment!
When running it says that "source is an unknown command" please advise
Are you using Linux?
I'm using Kali, I figured out how to use vinv but I still get the error
On Thu, Dec 7, 2023, 12:41 PM DanceMonkey276 @.***> wrote:
Are you using Linux?
— Reply to this email directly, view it on GitHub https://github.com/malwaredllc/byob/issues/686#issuecomment-1845912961, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMD3WRPQSHHJA4QZCOZXKE3YIIEW5AVCNFSM6AAAAABAAQTJASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBVHEYTEOJWGE . You are receiving this because you authored the thread.Message ID: @.***>
Are you using Linux?
I'm using Kali, I figured out vinv but when running it I still get the aforementioned error
Have you tried rerunning the startup.sh script? Worst case, you would have to delete the entire thing and get a new, clean byob install. Then, you can set up the entire thing inside of the venv. That worked for me
Have you tried rerunning the startup.sh script? Worst case, you would have to delete the entire thing and get a new, clean byob install. Then, you can set up the entire thing inside of the venv. That worked for me
I reinstalled and ran venv as I ran requirements.txt and ./startup.sh and still the same error, should I try with py 2.7 instead of py 3.11?
Edit: I'm going to see if running the requirements.txt in ~/BYOB/BYOB fixes it
when running run.py i get the message:
Traceback (most recent call last): File "/home/brecken/byob/web-gui/run.py", line 1, in from buildyourownbotnet import create_app File "/home/brecken/byob/web-gui/buildyourownbotnet/init.py", line 16, in from buildyourownbotnet import client, server File "/home/brecken/byob/web-gui/buildyourownbotnet/server.py", line 32, in from .models import db File "/home/brecken/byob/web-gui/buildyourownbotnet/models.py", line 2, in from flask_bcrypt import Bcrypt ModuleNotFoundError: No module named 'flask_bcrypt'
Update: I am using Kali Linux and tried using venv and a clean install in venv, that has NOT fixed my issue.
Theory: going through the web-gui folder, I don't a .models to call db from, if anyone knows if this was (or is) a package for Python please tell.
Should use pip to seperate install without requirements.txt of this >>> ModuleNotFoundError: No module named 'flask_bcrypt'
pip that flask_bcrypt only ...
Stale issue message