h-haghpanah / mikrotik_traffic_counter_en

GNU General Public License v3.0
9 stars 2 forks source link

error #7

Open H-gorji opened 9 months ago

H-gorji commented 9 months ago

i see this error after installing

ExecStart=/etc/mikrotik_traffic_counter_en/mikrotik_venv/bin/python3 analysis.py (code=exited, status=1/FAILURE)

H-gorji commented 9 months ago

Traceback (most recent call last): File "analysis.py", line 2, in import fetch File "/etc/mikrotik_traffic_counter_en/analysis/fetch.py", line 1, in import requests i can't finding requests file

h-haghpanah commented 9 months ago

Hello you can fix these issues by installing requirements.txt in root of project: if you dont know how to install python requirements use following command : pip install -r requirements.txt

jult commented 6 months ago

pip is not a workable solution for debian based systems..

tomaskovacik commented 1 month ago

search the required module on https://pypi.org/search/

then

python3 -m venv /etc/mikrotik_traffic_counter_en/mikrotik_venv source /etc/mikrotik_traffic_counter_en/mikrotik_venv/bin/activate pip3 install NAME_OF_MODULE

restart web app