Closed niefeiyang closed 3 months ago
Could you show the output of pip freeze
here, so we can see what kolibri version is installed?
If you just did pip install kolibri
then it would presumably be installing 0.16.2 which is the latest version released to pypi, which does not support Python 3.12 (so I am a little surprised it let you install), but good to check.
(kolibri) [feiyang@pwnbox kolibri]$ pip freeze kolibri==0.15.1
So, as a heads up, no currently released version of Kolibri supports Python 3.12. 0.17.0, which will be released either this week or next week will do so.
I am unsure how to handle the setuptools issue though, as it is needed at installation time as well as at runtime, so it would be insufficient to add it to our requirements.
Thank you. You did a great job on this.
Issue with Kolibri: ModuleNotFoundError for
pkg_resources
Observed behavior
When attempting to run Kolibri, I encountered a
ModuleNotFoundError
forpkg_resources
. After installingsetuptools
(I first asked ChatGPT to help, which mentioned the error may caused by lack of pip module 'setuptools'), another error occurred, indicating a missingdjango.utils.six.moves
module. Below are the error details:Initial Error:
Error after installing
setuptools
:Errors and logs
Command Line Logs:
Expected behavior
Kolibri should start without encountering
ModuleNotFoundError
forpkg_resources
ordjango.utils.six.moves
.User-facing consequences
Users are unable to start Kolibri, which prevents access to its functionalities and services.
Steps to reproduce
kolibri
command.Context