I have installed Django using virtualenv and pip by following this blog:
blog.umersoftwares.com
The blog has used the cloudlinux for installing the Django application but I am using the reseller hosting account.
I have installed the Django using passenger_wsgi.py file and works fine when used with a normal shell but during the jailed shell, the "No module named pymysql" error appears as below:

Deploy Django app on Shared Hosting using CPanel - Umer Softwares Blog
This post is about deploying a Django application on Linux shared hosting using Cpanel. This article was originally published in 2019. At that time, it was possible to only use Django 2.1. But things have changed on the way and it is being updated with time. I am writing this update in May 2022...

The blog has used the cloudlinux for installing the Django application but I am using the reseller hosting account.
I have installed the Django using passenger_wsgi.py file and works fine when used with a normal shell but during the jailed shell, the "No module named pymysql" error appears as below:
Python:
Traceback (most recent call last):
File "/opt/cpanel/ea-ruby24/root/usr/share/passenger/helper-scripts/wsgi-loader.py", line 369, in <module>
app_module = load_app()
File "/opt/cpanel/ea-ruby24/root/usr/share/passenger/helper-scripts/wsgi-loader.py", line 76, in load_app
return imp.load_source('passenger_wsgi', startup_file)
File "/home/test/djangotest/passenger_wsgi.py", line 1, in <module>
from myproject.wsgi import application
File "/home/test/djangotest/myproject/__init__.py", line 1, in <module>
import pymysql
ImportError: No module named pymysql