lavinir / npm-geoaccesslists

Country IP Access list support to nginx proxy manager
MIT License
8 stars 3 forks source link

How can I implement this script? #3

Closed Anocos closed 1 year ago

Anocos commented 1 year ago

Hi, how can I implement this script?

I have downloaded the file 'npm-geoaccesslists-0.1.zip', unzipped it and run from this directory:

python add-npm-geofilter.py --npm-host 192.168.x.x --npm-port 81 --npm-email xxxx@xxxx.com --npm-password Pxxxxxxp --npm-accesslist-name Test --allowed-countries ES

Error: ~/Temp/npm-geoaccesslists-0.1 $ python add-npm-geofilter.py --npm-host 192.168.x.x --npm-port 81 --npm-email xxxx@xxxx.com --npm-password Pxxxxxxp --npm-accesslist-name Test --allowed-countries ES

Traceback (most recent call last): File "/Temp/npm-geoaccesslists-0.1/add-npm-geofilter.py", line 4, in <module> import pandas as pd ModuleNotFoundError: No module named 'pandas'

Any indication?

Anocos commented 1 year ago

OK, you have to install pandas

I get error adding access list. (413) #1