GithubHelp home page GithubHelp logo

having problems with run.py about byob HOT 9 OPEN

bcwlkr avatar bcwlkr commented on May 27, 2024
having problems with run.py

from byob.

Comments (9)

DanceMonkey276 avatar DanceMonkey276 commented on May 27, 2024

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!

from byob.

bcwlkr avatar bcwlkr commented on May 27, 2024

When running it says that "source is an unknown command" please advise

from byob.

DanceMonkey276 avatar DanceMonkey276 commented on May 27, 2024

Are you using Linux?

from byob.

bcwlkr avatar bcwlkr commented on May 27, 2024

from byob.

bcwlkr avatar bcwlkr commented on May 27, 2024

Are you using Linux?

I'm using Kali, I figured out vinv but when running it I still get the aforementioned error

from byob.

DanceMonkey276 avatar DanceMonkey276 commented on May 27, 2024

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

from byob.

bcwlkr avatar bcwlkr commented on May 27, 2024

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

from byob.

ThePuteh avatar ThePuteh commented on May 27, 2024

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 ...

from byob.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.