Three things to try:
1. deactivate
2. source deactivate
3. conda deactivate (if using conda)
Watch video How to leave or exit a Python virtualenv online without registration, duration 41 second in high hd quality. This video was added by user ModernPython 17 September 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 34 once and liked it people.