You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and coy code from this
from wireguard_db.models.config import DBConfig
# now enshure you can write and read the config.yaml
# it will create a /etc/wireguard/wireguard.yaml file
if DBConfig().write():
setup = DBConfig().read()
setup
# you should see a tuple containing the default setup for a sqlite3 connector
exit()
when I run the script I see next
Traceback (most recent call last):
File "db.py", line 1, in
from wireguard_db.models.config import DBConfig
ModuleNotFoundError: No module named 'wireguard_db'
i'll try install module from pip but this failed. also i cand fount setup.py in your repo
pip python -m pip install wireguard_db ERROR: Could not find a version that satisfies the requirement wireguard_db (from versions: none)
ERROR: No matching distribution found for wireguard_db
Hello Marcus
I did steps:
python3 -m pip install cython
python3 -m pip install PyMySQL
python3 -m pip install peewee
and create db.py file with your code:
when I run the script I see next
Traceback (most recent call last):
File "db.py", line 1, in
from wireguard_db.models.config import DBConfig
ModuleNotFoundError: No module named 'wireguard_db'
i'll try install module from pip but this failed. also i cand fount setup.py in your repo
pip python -m pip install wireguard_db
ERROR: Could not find a version that satisfies the requirement wireguard_db (from versions: none)
ERROR: No matching distribution found for wireguard_db
could you help me install your module. I want to create DB (25k clients) and use module wireguard. https://github.com/fictivekin/wireguard
The text was updated successfully, but these errors were encountered: