How fix ModuleNotFoundError? #2
-
Traceback (most recent call last): I'm not a programmer. How can I run it on Openwrt router. I am in Vietnam so many IP addresses have not been added to the list |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
To use the Python Code, you need to install a Python Module called dnspython first. To install it run the following command: pip3 install -I dnspython==2.1.0 After installation your issue should be resolved. Also, note that, Google use DNS based traffic routing (as far as I see), so fetching the Queries only one time might not be enough. You have to fetch them multiple times with an interval of at least 5 miniutes (Google’s TTL) to get all or most of the IP's they use in your location. |
Beta Was this translation helpful? Give feedback.
-
Update on the discussion, use the following command to install all dependencies from pip3 install -r requirements.txt |
Beta Was this translation helpful? Give feedback.
Update on the discussion, use the following command to install all dependencies from
requirements.txt
: