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

Dependencies not installed on 1.9.2 #27

Open
tigger0jk opened this issue Jul 27, 2024 · 1 comment
Open

Dependencies not installed on 1.9.2 #27

tigger0jk opened this issue Jul 27, 2024 · 1 comment

Comments

@tigger0jk
Copy link

I upgraded from 1.9.0 to 1.9.2, and got this error:

Runtime.ImportModuleError: Unable to import module 'my_module': No module named 'nltk'

I saw that cntext was my dependency for it, and I first tried adding nltk. After doing so, I got this error for the next cntext dependency:

Runtime.ImportModuleError: Unable to import module 'my_module': No module named 'mittens'

Instead of managing all the cntext dependencies myself to ensure they exist I simply downgraded back to 1.9.0 which resolved the issue.

Not sure if 1.9.1 works or not I didn't test it.

@hiDaDeng
Copy link
Owner

hiDaDeng commented Aug 6, 2024

我现在的pypi账号遇到问题, 如果使用setuptools,就无法将cntext的任何版本发布到pypi,因此不得不另辟蹊径,使用poetry进行了1.9.2的发布。

我对poetry也不太熟,兄弟希望你能已经解决问题了。

Google Translation:

I have a problem with my current PyPi account. If I use setuptools, I can't publish any version of cntext to pypi, so I have to find another way and use poetry to publish 1.9.2.

I am not familiar with poetry, brother, I hope you have solved the problem yourself.

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