I had venv that installed Django and python version3.8. After upgrading my ubuntu my virtual environment doesn't work anymore and it doesn't recognize the pip command and it returns:
ModuleNotFoundError: No module named 'pip'
After searching I found out the virtual environment is broken after upgrading and the best way is to remove venv directory and create again and install your packages again but I don't have my installed package list (using pip freeze > list.txt) so now how can I get installed package list from the broken virtual environment? I can see the list of directories here:
$ ls venv/lib/python3.8/site-packages/
but I don't have it