[GH-ISSUE #184] ./manage.py not working: "No module named 'django.utils'" #131

Closed
opened 2026-02-25 23:41:17 +03:00 by kerem · 1 comment
Owner

Originally created by @clovisd on GitHub (Aug 11, 2018).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/184

Hey there, I'm trying to setup a development install of HC and am getting this message on trying to run anything off of manage.py:

(hc-venv) cl@s4:~/webapps/healthchecks$ ./manage.py createsuperuser
Traceback (most recent call last):
  File "./manage.py", line 8, in <module>
    from django.core.management import execute_from_command_line
  File "/home/cl/webapps/hc-venv/lib/python3.5/site-packages/django/__init__.py", line 1, in <module>
    from django.utils.version import get_version
ImportError: No module named 'django.utils'

Same with ./manage.py runserver etc.

Any help or advice would be appreciated!

Thank you.

Originally created by @clovisd on GitHub (Aug 11, 2018). Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/184 Hey there, I'm trying to setup a development install of HC and am getting this message on trying to run anything off of `manage.py`: ```python (hc-venv) cl@s4:~/webapps/healthchecks$ ./manage.py createsuperuser Traceback (most recent call last): File "./manage.py", line 8, in <module> from django.core.management import execute_from_command_line File "/home/cl/webapps/hc-venv/lib/python3.5/site-packages/django/__init__.py", line 1, in <module> from django.utils.version import get_version ImportError: No module named 'django.utils' ``` Same with `./manage.py runserver` etc. Any help or advice would be appreciated! Thank you.
kerem closed this issue 2026-02-25 23:41:17 +03:00
Author
Owner

@cuu508 commented on GitHub (Aug 20, 2018):

Hi,

sorry about that -- not quite sure yet why that's happening. Haven't managed to reproduce this yet.

When the virtual environment is activated, what is the output of pip freeze?

What OS & version are you using?

Does /home/cl/webapps/hc-venv/lib/python3.5/site-packages/django/utils/version.py exist?

<!-- gh-comment-id:414254288 --> @cuu508 commented on GitHub (Aug 20, 2018): Hi, sorry about that -- not quite sure yet why that's happening. Haven't managed to reproduce this yet. When the virtual environment is activated, what is the output of `pip freeze`? What OS & version are you using? Does `/home/cl/webapps/hc-venv/lib/python3.5/site-packages/django/utils/version.py` exist?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/healthchecks#131
No description provided.