PythonScriptsPro icon indicating copy to clipboard operation
PythonScriptsPro copied to clipboard

No Module Named Error

Open marcolinux46 opened this issue 1 year ago • 10 comments

Hi @AlexxIT

Following there is a log from home assistant when i run a script from developer tools.

Traceback (most recent call last):
  File "/config/custom_components/python_script/__init__.py", line 106, in execute_script
    exec(code, vars)
  File "/config/custom_components/wireproxy/check_connectedvpn_geolite.py", line 1, in <module>
    from geoip2 import database, errors
ModuleNotFoundError: No module named 'geoip2'

The module is installed and the script runs perfectly on command line via SSH

Can you help me?

marcolinux46 avatar Nov 13 '24 13:11 marcolinux46