Hello @mauede ,
Welcome to Microsoft Q&A forum.
You can click View => Other Windows => Python Environments to open Python Environments window and check or select the detected/installed Python environment.
If you want to install another version of Python, you can download it separately from official website: Python. Choose the correct version that you want especially 32 bit or 64 bit. Double click the setup file and wait for it finishes installing, remember to select Add to Path
option when installing it. After that VS should automatically detect it and show the available Python in Python environment.
You may use following code to add an external library.
import sys
sys.path.append(package_path)
import package
Sincerely,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.