![]() Terminal in VSCode in general pertains to your default terminal I think. a pip that belongs to Python 3.8, or a pip that belongs to Python 3.9. This will also affect which pip you use, i.e. Just make sure you change Environment variables C:\Users\YourName\AppData\Local\Programs\Python\Python# and C:\Users\YourName\AppData\Local\Programs\Python\Python#\Scripts accordingly. In Windows 10 you can choose to have several Python versions, usually under C:\Users\YourName\AppData\Local\Programs\Python\Python#. Path that is used when you type "python" in the terminal, and this is in "Environment Variables" in Windows 10 (Similar locations under Linux and Mac).This path can be set under CTRL SHIFT P Python: Select Interpreter. Path that is used when you the python code using green play button up in the top right corner.I don't know how it works internally, but adding this line into Code-Runner extension setting.json file fixed it: "": /env/bin/python3.6"ĭetailed instructions can be found in the documentation "Manually specify an interpreter", including using environment variables as the interpreter's path. And I guess that is the way you are launching your programs. (Try update#1 first) Looking at your screenshots I see you are using Code Runner extension. First, read the update #1 part in the bottom
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |