0

I have installed requests but I cannot use it

If I type pip install requests I get Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Users/myname/Library/Python/3.8/lib/python/site-packages (from requests) (1.26.7)

However if I run a file with

import requests I get ImportError: No module named requests

What's going on here?

J Seabolt
  • 2,152
  • 5
  • 19
  • 52
  • https://stackoverflow.com/search?q=%5Bpip%5D+cannot+import+but+module+installed – phd Dec 18 '21 at 12:47

0 Answers0