Last login: Tue Nov 24 08:51:07 on ttys002
lin@lin-mbp ~/work/crawler % source .venv/bin/activate
(.venv) lin@lin-mbp ~/work/crawler % pip install requests
Collecting requests
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Successfully installed certifi-2024.8.30 charset-normalizer-3.4.0 idna-3.10 requests-2.32.3 urllib3-2.2.3
(.venv) lin@lin-mbp ~/work/crawler % deactivate
lin@lin-mbp ~/work/crawler % python3 crawl.py
Traceback (most recent call last):
File "/Users/lin/work/crawler/crawl.py", line 3, in <module>
import requests
ModuleNotFoundError: No module named 'requests'
lin@lin-mbp ~/work/crawler %