-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
imports not working can't change python intepreter #23173
Comments
@edenpage11 we use whatever Here are some of our recommendations based on best practices.
Here is an example in my case, it really depends on what PATH env variable is doing for global environments: Here is a virtual environment. With virtual environments, Python extension can "activate" it and add it to PATH in such a way that |
Is there a way to make it default to the 3.12? I don't want it to run the 3.9 at all Using the where python also didn't print any paths |
@edenpage11 You can do it two ways. Option 1set PATH environment variable using this UI in windows: You will need to add the folder containing the python you want at the top: NOTE: You need to add the path folder containing the python, not the path to python binary itself. Option 2Uninstall the python 3.9. You can find where it is installed by using |
Type: Bug
When i pip installed exifread and reverse_geocoder, they say not resolved. I have my intepreter set as python3.12.2 in the bottom right corner and all the settings, but typing python --version in my terminal shows it as 3.9.13. I have uninstalled and reinstalled, closed and reopened, idk what else to do, I also can run the program if I change it to 3.9.13 in the bottom right corner and the not resolved errors go away
VS Code version: Code 1.87.2 (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:20:17.278Z)
OS version: Windows_NT x64 10.0.22631
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Extensions (19)
A/B Experiments
The text was updated successfully, but these errors were encountered: