Wind River Support Network

HomeDefectsLIN1019-2474
Not to be fixed

LIN1019-2474 : python module missing: No module named 'django.db.backends.creation'

Created: Sep 3, 2019    Updated: Apr 29, 2021
Resolved Date: Apr 29, 2021
Found In Version: 10.19.45.1
Severity: Standard
Applicable for: Wind River Linux LTS 19
Component/s: Userspace

Description

1) --machines qemux86-64 --distro wrlinux --dl-layers
2) in local.conf:
IMAGE_INSTALL_append = " python3-django-south"
3) bitbake wrlinux-image-std
4) runqemu

root@qemux86-64:~# python3
Python 3.7.4 (default, Nov 11 2019, 10:15:16) 
[GCC 9.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import south.tests
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python3.7/site-packages/south/tests/__init__.py", line 8, in <module>
    from south.hacks import hacks
  File "/usr/lib64/python3.7/site-packages/south/hacks/__init__.py", line 8, in <module>
    from south.hacks.django_1_0 import Hacks
  File "/usr/lib64/python3.7/site-packages/south/hacks/django_1_0.py", line 7, in <module>
    from django.db.backends.creation import BaseDatabaseCreation
ModuleNotFoundError: No module named 'django.db.backends.creation'

Steps to Reproduce

1)    --machines qemux86-64 --template feature/linux-yocto-dev,feature/userspace-next,feature/toolchain-next --distro wrlinux  --dl-layers
2) in local.conf:
   IMAGE_INSTALL_append = "  python3-django-south" 
3) bitbake wrlinux-image-std 
4) see description 
Live chat
Online