Closed Stanlyhalo closed 1 year ago
What python version are you on? will look into this later, I recommend using the docker container though
I'm using python 3.11.1. I'll look into using the docker, I don't have any of the docker stuff setup yet though.
Edit*: Okay I installed docker, but I don't know how to run the command in the readme, it keeps only doing the first line, and even if I try to put the lines together (with a space between each line ofc), it errors because it's an invalid command.
Edit*: I just needed to remove the "\", I'm still new to docker, so idk what to do after this.
ty, I think it's an issue with python 3.11, and I've gotten it before, I'll check to see if I can repo again and then will try to fix. I wrote this in 3.8, so that may be the issue
Ah okay, I seemed to have gotten docker to run the command, I just needed to make it one lined and remove the "\", and it seems to work, idk how to launch the dashboard though.
Edit*: They just seem to launch for about 3 seconds in the docker desktop:
Okay, I just installed an configured Python 3.8.0, the installation of packages seemed to go without any issue, however running flask db upgrade
still outputs:
Usage: flask [OPTIONS] COMMAND [ARGS]...
Try 'flask --help' for help.
Error: No such command 'db'.
I did try flask run
which seemed to run, but when I tried to bootup http://127.0.0.1:5000
in my web browser, it output some errors related to app.py around line 2070, 1515, 1513, 1499, and so on.
Edit*: It seems trying to run the gunicorn command outputs an error stating that there's no module named 'fcntl', so I attempted to install it via pip and I get this error:
ERROR: Could not find a version that satisfies the requirement fcntl (from versions: none)
ERROR: No matching distribution found for fcntl
It seems fcntl is not on Windows, but there is apparently a good alternative called waitress-serve... but it seems to can't find the module "predict" which I can't seem to install without getting errors lol.
please try using a venv
stale
Hey, I just got to the very end of this manual for setting this dashboard up, and I was going through a trial and error of trying to start than installing packages via pip that weren't installed, and I came across this error when trying to upgrade the db:
And it seems from posts online that flask_user is out of date or something, and when I try to install it, it can't install it. Also I did install flask_migrate so idk why the db command isn't working. I already have the server working, I can play on the server, and I even have the account manager working. And if I try to run this:
gunicorn -b :8000 -w 4 wsgi:app
, I get this:And it seems fcntl isn't installable either. And of course trying to just do
flask run
results in in the error with flask_user not being installed.Edit*: On top of this, when I try to do
pip install -r requirements.txt
, I get a ton of errors relating to greenlet.