no module named 'kronos' in ubuntu

1
0
-1

I'm using AWS (ubuntu instance) and django.

In ubuntu, I did sudo pip install django-kronos.In kronos timeclock

But, When sudo python3 manage.py runserr --settings=health.settings

Import Error: No module named 'kronos'   

happens.

Kronos works well in locals. Why I get the error in ubuntu??

1 answer

1
0
-1

You're encountering an "Import Error: No module named 'kronos'" in your Django application on AWS Ubuntu. It's likely due to issues with the installation or environment setup. Ensure django-kronos is installed correctly, check Python Support versions, verify virtual environment activation, validate permissions, confirm path configurations, restart the server, and consider reinstalling django-kronos for the correct Python version. These steps might resolve the import error in your Django application.

1. Check Python Version

2. Reinstall Package

sudo pip3 install django-kronos

Notifications