I got the following error while running the website. "ModuleNotFoundError: No module named 'whois' "
SOLUTION:
pip install python-whois
I m using goviralhost shared hosting. I don't have assess for terminal. So I created a file named "install_pyScript.py" and run the command.
import subprocess
try:
# Run the pip install command
subprocess.check_call(['pip', 'install', 'python-whois'])
print("Installed successfully.")
except Exception as e:
print(f"Error installing whois: {e}")