(Nov-26-2019, 08:06 PM)deep_logic Wrote: I'm sorry, but i'm still lost on how to import beautifulsoup - or any other module into VS Code.I think you most read better what i post or link i give you.
What's showing down in your left corner Python: Select Interpreter your image don't show that?
After Interpreter is set to 3.8 the language server start downloading,so autocomplete and IntelliSense works.
Then it will work if you have installed beautifulsoup to 3.8 with
pip
.Test if i use 3.8,still have 3.7 as main version in Windows path.
Therefor i just take if from folder of 3.8.
C:\Python38\Scripts λ pip install beautifulsoup4 Collecting beautifulsoup4 Downloading .... Installing collected packages: soupsieve, beautifulsoup4 Successfully installed beautifulsoup4-4.8.1 soupsieve-1.9.5
# Test C:\Python38\Scripts λ cd .. C:\Python38 λ python Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:21:23) [MSC v.1916 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import bs4 >>> bs4.__version__ '4.8.1' >>> # The normal import you use >>> from bs4 import BeautifulSoup >>>So now work if from command line if i choose Python 3.8 Interpreter in VS Code,then BeautifulSoup work with 3.8 in VS code.