Hi,
I choose from tickets this one but I can’t reproduce the error,
I studied run tests but it make another error:
Traceback (most recent call last):
File “./runtests.py”, line 16, in
import django
File “/usr/local/lib/python3.8/dist-packages/django/init.py”, line 1, in
from django.utils.version import get_version
ModuleNotFoundError: No module named ‘django.utils’
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “./runtests.py”, line 18, in
raise RuntimeError(
RuntimeError: Django module not found, reference tests/README.rst for instructions.
Error in sys.excepthook:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/apport_python_hook.py”, line 72, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File “/usr/lib/python3/dist-packages/apport/init.py”, line 5, in
from apport.report import Report
File “/usr/lib/python3/dist-packages/apport/report.py”, line 32, in
import apport.fileutils
File “/usr/lib/python3/dist-packages/apport/fileutils.py”, line 12, in
import os, glob, subprocess, os.path, time, pwd, sys, requests_unixsocket
File “/usr/lib/python3/dist-packages/requests_unixsocket/init.py”, line 4, in
from .adapters import UnixAdapter
File “/usr/lib/python3/dist-packages/requests_unixsocket/adapters.py”, line 3, in
from requests.adapters import HTTPAdapter
ModuleNotFoundError: No module named ‘requests.adapters’
Original exception was:
Traceback (most recent call last):
File “./runtests.py”, line 16, in
import django
File “/usr/local/lib/python3.8/dist-packages/django/init.py”, line 1, in
from django.utils.version import get_version
ModuleNotFoundError: No module named ‘django.utils’
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “./runtests.py”, line 18, in
raise RuntimeError(
RuntimeError: Django module not found, reference tests/README.rst for instructions.
I didn’t see any other instruction to run test in documentation.
Thanks.