Having trouble with 'import requests python on mac'—any fixes?

7 Replies, 1998 Views

This drove me nuts too! For import requests python on mac, here’s what worked:

1. Uninstall requests completely (`pip uninstall requests`)
2. Install it again with `pip3 install requests` (explicitly use pip3)
3. Restart your terminal—sometimes it’s just a session thing.

If that fails, maybe try Anaconda? It handles dependencies way better than vanilla Python.

Messages In This Thread



Users browsing this thread: 1 Guest(s)