Open slima opened 3 hours ago
Please do source ./venv/bin/activate
that way you activate the Python Virtual Environment which allows you to call the dependencies.
~/WGDashboard/src$ source ./venv/bin/activate
(venv) ~/WGDashboard/src$ ./wgd.sh start
[WGDashboard] WireGuard is already installed.
------------------------------------------------------------
[WGDashboard] Starting WGDashboard with Gunicorn in the background.
sudo: unable to execute ./venv/bin/gunicorn: No such file or directory
but file is there:
~/WGDashboard/src/venv/bin$ ls
activate activate.csh activate.fish Activate.ps1 flask **gunicorn** pip pip3 pip3.10 python python3 python3.10
Hmmm, okay. That's weird.
I should have done it itself, but to make sure please execute:
make sure all WGDashboard processed are stopped and then:
bash ./wgd.sh install
bash ./wgd.sh start
I see you directly executed it, perhaps you use another shell other than Bash, so make sure you use Bash as marked in the Shebang.
$ python3 --version Python 3.10.12
$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.4 LTS Release: 22.04 Codename: jammy