Im on mac OS 10.15.7 and I have a function in a python script that needs the requests
module. I followed the installation outlined here by user TheoretiCAL .
Last week I ran the script successfully from the VS code interpreter using python3.9.1
.
Today I had to import requests
in jupyter still in VS code. The module is not found despite VS being set to
python3.9.1
in the lower left corner pip --version
giving me: pip 21.1.1 from /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pip (python 3.9)
import sys print(sys.version)
giving me 3.9.1
Unfortunately this did not help me any further either.
From my side it looks like I've done everything that is recommended. What did my tiny beginners brain miss?
Thank you for your help
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.