Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't seem to work with Python 3.13 #1069

Open
tprrt opened this issue Nov 20, 2024 · 0 comments
Open

Doesn't seem to work with Python 3.13 #1069

tprrt opened this issue Nov 20, 2024 · 0 comments

Comments

@tprrt
Copy link

tprrt commented Nov 20, 2024

The following issue occurs with Python 3.13, but no issues occur with Python 3.11:

>>> import sentencepiece as spm
Traceback (most recent call last):
  File '<stdin>', line 1, in <module>
    import sentencepiece as spm
  File '/usr/lib/python3.13/site-packages/sentencepiece/__init__.py', line 10, in <module>
    from . import _sentencepiece
ImportError: cannot import name '_sentencepiece' from partially initialized module 'sentencepiece' (most likely due to a circular import) (/usr/lib/python3.13/site-packages/sentencepiece/__init__.py)
>>> exit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant