hsand/pia-wg

No module named 'requests'

Opened this issue · 4 comments

dar638 commented

(venv) C:\Users\Downloads\pia-wg-master\pia-wg-master>python3 generate-config.py
Traceback (most recent call last):
File "C:\Users\Downloads\pia-wg-master\pia-wg-master\generate-config.py", line 1, in
from piawg import piawg
File "C:\Users\Downloads\pia-wg-master\pia-wg-master\piawg.py", line 1, in
import requests
ModuleNotFoundError: No module named 'requests'

Per the README.md, you need to run pip install -r requirements.txt

dar638 commented

Thanks kylefmohr, i did run pip. however, i did receive the error above.

Getting the same error here even with running "pip install -r requirements.txt"

Avnsx commented

Go to your command terminal, on windows for example it's cmd.exe and type in python -m pip install requests.

If python is installed on your system and set as environment variable, this should work to install the python requests module.