Skip to content

Python wrapper error: cannot import name 'Sioyek' from 'sioyek' #14

@maxigaz

Description

@maxigaz

I've recently installed the Python wrapper through pip install sioyek --user on Arch Linux.

When I run my Python script (either from the terminal or from Sioyek) that includes the line from sioyek import Sioyek, clean_path, I receive the following error:

Traceback (most recent call last):
  File "/home/maxigaz/.config/sioyek/scripts/search_and_jump.py", line 2, in <module>
    from sioyek import Sioyek, clean_path
ImportError: cannot import name 'Sioyek' from 'sioyek' (/home/maxigaz/.local/lib/python3.11/site-packages/sioyek/__init__.py)

I looked at the referenced __init__.py file, and it exists... although it is completely empty and has a size of 0B.

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