Hello,

can someone point me to resolve the error?

I made a plugin-template with plugin builder and tried to run this in
qgis (python editor) without making any changes.

regards


# Python Console
# Use iface to access QGIS API interface or type help(iface) for more info
# Security warning: typing commands from an untrusted source can harm
your computer
exec(open('[...]light.py'.encode('utf-8')).read())
Traceback (most recent call last):
  File "C:\PROGRA~1\QGIS32~2.3\apps\Python39\lib\code.py", line 90, in
runcode
    exec(code, self.locals)
  File "<input>", line 1, in <module>
  File "<string>", line 28, in <module>
  File "C:\PROGRA~1/QGIS32~2.3/apps/qgis/./python\qgis\utils.py", line
888, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: attempted relative import with no known parent package


_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to