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

cyhunspell installation fails #20

Open
h3ma209 opened this issue Jul 18, 2023 · 6 comments
Open

cyhunspell installation fails #20

h3ma209 opened this issue Jul 18, 2023 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@h3ma209
Copy link

h3ma209 commented Jul 18, 2023

whatever i do cyhunspell fails
i wonder if you found a way to work it out

@sinaahmadi
Copy link
Owner

Thanks for reporting this, @h3ma209.
Would you please provide the error that you got and share the specificities of your system? I just tried installing it in a virtual environment on MacOS and it seems to work. I know there is a problem as it was previously reported, but I want to know what is exactly happening.

@sinaahmadi sinaahmadi added the bug Something isn't working label Jul 18, 2023
@h3ma209
Copy link
Author

h3ma209 commented Jul 20, 2023

kak sinaah i fixed by downgrading the python with 3.8 works fine

@sinaahmadi
Copy link
Owner

Thanks a lot for reporting this. CyHunspell seems to be causing many issues lately with newer versions of Python but no one seems to be taking care of that package anymore.

I'll try making it clear in the README about version issues.

@h3ma209
Copy link
Author

h3ma209 commented Jul 23, 2023

your welcome <3

@alisalehi67
Copy link

alisalehi67 commented Mar 1, 2024

Downgrading to python 3.8 did not fix my issue unfortunately. Here is the error I am getting when I tried to install klpt:

ERROR: Cannot install klpt==0.1.0, klpt==0.1.1, klpt==0.1.2, klpt==0.1.3, klpt==0.1.4, klpt==0.1.5 and klpt==0.1.6 because these package versions have conflicting dependencies.

The conflict is caused by:
    klpt 0.1.6 depends on cyhunspell>=2.0.1
    klpt 0.1.5 depends on cyhunspell>=2.0.1
    klpt 0.1.4 depends on cyhunspell>=2.0.1
    klpt 0.1.3 depends on cyhunspell>=2.0.1
    klpt 0.1.2 depends on cyhunspell>=2.0.1
    klpt 0.1.1 depends on cyhunspell>=2.0.1
    klpt 0.1.0 depends on cyhunspell>=2.0.1

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

@sinaahmadi
Copy link
Owner

sinaahmadi commented Mar 2, 2024

Hi @alisalehi67,
This problem has been reported. I cannot do much about it at this point as the toolkit depends on an external package. I'll make sure to fix that in the future version.
For now, a workaround is to install KLPT in a virtual environment. Here are some guidelines.

Please let me know if you still get the same error in a venv.

@sinaahmadi sinaahmadi self-assigned this Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants