donaldzou / WGDashboard

Simple dashboard for WireGuard VPN written in Python w/ Flask
https://donaldzou.github.io/WGDashboard-Documentation/
Apache License 2.0
1.48k stars 217 forks source link

Python 3.7 installed but cannot install wgdashboard #209

Open Maksim-us opened 1 year ago

Maksim-us commented 1 year ago

I have several python versions installed, but 3.7 is set as default. However, when running "./wgd.sh install" i get the error:

------------------------------------------------------------
| Starting to install WGDashboard                          |
| WGDashboard required Python 3.7 or above          |
------------------------------------------------------------

this is the output from "update-alternatives --config python":

  Selection    Path                      Priority   Status
------------------------------------------------------------
* 0            /usr/local/bin/python3.7   3         auto mode
  1            /usr/bin/python3           2         manual mode
  2            /usr/bin/python3.5         1         manual mode
  3            /usr/local/bin/python3.7   3         manual mode

running "python -V" shows "Python 3.7.9".

Thanks.

DaanSelen commented 1 month ago

Hello @Maksim-us can you try again with version 4 and the latest python version 3.12?