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

I couldn't import this library #4

Closed
Imkyeongbin opened this issue Aug 9, 2023 · 1 comment
Closed

I couldn't import this library #4

Imkyeongbin opened this issue Aug 9, 2023 · 1 comment

Comments

@Imkyeongbin
Copy link

Imkyeongbin commented Aug 9, 2023


ImportError Traceback (most recent call last)
Cell In[5], line 1
----> 1 from kotan import KoTAN
2 KoTAN.available_tasks()

File c:\Python310\lib\site-packages\kotan_init_.py:3
1 version = "1.1.3"
----> 3 from .job import KoTAN

File c:\Python310\lib\site-packages\kotan\job.py:3
1 import torch
----> 3 from .tasks import (
4 KoTANTranslationFactory,
5 KoTANAugmentationFactory,
6 KoTANStyleConversiontFactory
7 )
9 from .const import LANG_ALIASES, LEVEL, STYLE
12 # Task list

File c:\Python310\lib\site-packages\kotan\tasks_init_.py:1
----> 1 from .machine_translation import KoTANTranslationFactory
2 from .data_augmentation import KoTANAugmentationFactory
3 from .style_convert import KoTANStyleConversiontFactory
...
45 f"{requirement} is required for a normal functioning of this module, but found {pkg}=={got_ver}.{hint}"
46 )

ImportError: accelerate>=0.20.3 is required for a normal functioning of this module, but found accelerate==0.18.0.
Try: pip install transformers -U or pip install -e '.[dev]' if you're working with git main

I installed this with pip3 install kotan
Is it unavailable on python 3.10?

@juhwanlee-diquest
Copy link
Collaborator

Sorry for late answer.

KoTAN is available on python3.10

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

2 participants