Skip to content

Import issue: No module named 'examples' #139

@mrdc

Description

@mrdc

Hi,

I see this error when I try to run some code in examples:

pylgbst-master/examples/vernie/android_remote.py"
Traceback (most recent call last):
  File "/Users/xxxxxxxxxxxxxxx/pylgbst-master/examples/vernie/android_remote.py", line 12, in <module>
    from examples.vernie import Vernie
ModuleNotFoundError: No module named 'examples'

Maybe, it's better to refactor the code to exclude import examples.? Somehow it's not working for me, even when I copy examples inside examples, which is strange, because import is resolved when I press on Vernie in both cases: without copying and with copying.

pylgbst 1.3.0
VSCode: 1.96.2
Python 3.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions