I wrote a web scraping programming a couple of months ago, which I had python -m venv venv did a bunch of pip install, checked and doubled check with pip list, everything looks fine.
And today I wanna scrape again so I did my source venv/bin/activate checked with pip list, everything looks fine, and just keep having no module of this and that...
But when I deactivated it, it falls back to my global installed modules, my program runs perfectly fine. I could't believe it so i did :
rm -rf venv and
python -m venv source venv/bin/activate pip install -r requirements.txt
everything installed, check with pip list, and no module of this or that.
Anyone, please tell me what's happening? thank you!
which python- neilharia7