Skip to content
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

Invalid version for <pythonpath> #22579

Closed
dpalmetzvbg opened this issue Dec 1, 2023 · 8 comments
Closed

Invalid version for <pythonpath> #22579

dpalmetzvbg opened this issue Dec 1, 2023 · 8 comments
Assignees
Labels
triage-needed Needs assignment to the proper sub-team

Comments

@dpalmetzvbg
Copy link

Type: Bug

Behaviour

Expected vs. Actual

I am using VSCode for developing with OSGeo4W and it has worked until the lateast update. When starting the OSGeo4W Environment and opening a python-file, on the output-pane apears an error: Invalid version for , and in the lower left corner the version number of the python interpreter does not appear.

Steps to reproduce:

  1. Start the OSGeo4W environment
  2. Open VSCode
  3. Open a python-file

Diagnostic data

  • Python version (& distribution if applicable, e.g. Anaconda):
  • Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Unknown
  • Value of the python.languageServer setting: Default
Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

2023-12-01 07:45:16.272 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\\OSGeo4W\\bin\\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\\OSGEO4W\\BIN\\PYTHON.EXE","detailedDisplayName":"Python"}

User Settings


languageServer: "Pylance"

Extension version: 2023.21.13342142
VS Code version: Code 1.84.2 (1a5daa3a0231a0fbba4f14db7ec463cf99d7768e, 2023-11-09T10:51:52.184Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (16 x 2904)
GPU Status 2d_canvas: enabled
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 31.78GB (16.22GB free)
Process Argv
Screen Reader no
VM 0%
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Dec 1, 2023
@karrtikr
Copy link

karrtikr commented Dec 4, 2023

Thanks for the bug report! We investigate issues in order based on priority and severity, which includes the impact it has on your ability to use the extension to do productive work, and the number of people affected. If other users come forward and leave a comment demonstrating they are seeing/reproducing the problem then we will raise this issue's priority. Thanks for understanding and the patience!

@karrtikr
Copy link

karrtikr commented Dec 4, 2023

Meanwhile, can you provide the complete debug logs which increases the chances for triaging this issue quickly:

  • Run Developer: Set log level command
  • Select Trace
  • Run Developer: Reload Window command
  • Provide the output:
Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

XXX

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Dec 4, 2023
@dpalmetzvbg
Copy link
Author

dpalmetzvbg commented Dec 5, 2023

Here are your requestes Infos:

2023-12-05 06:35:11.379 [info] Default formatter is set to null for workspace d:\Entwicklung\Python\giprueckexport_py3
2023-12-05 06:35:11.379 [info] Test server listening.
2023-12-05 06:35:11.379 [info] Python interpreter path: C:\OSGeo4W\bin\python.exe
2023-12-05 06:35:11.397 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\\OSGeo4W\\bin\\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\\OSGEO4W\\BIN\\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:35:11.399 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\\OSGeo4W\\bin\\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\\OSGEO4W\\BIN\\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:35:13.643 [info] Starting Pylance language server.
2023-12-05 06:35:13.649 [error] Active interpreter type is detected as Unknown {"id":"C:\\OSGEO4W\\BIN\\PYTHON.EXE","sysPrefix":"","envType":"Unknown","envName":"","envPath":"","path":"C:\\OSGeo4W\\bin\\python.exe","architecture":1,"version":{"raw":"","major":-1,"minor":-1,"patch":-1,"build":[],"prerelease":["final"]},"displayName":"Python","detailedDisplayName":"Python"}
2023-12-05 06:35:13.680 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\\OSGeo4W\\bin\\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\\OSGEO4W\\BIN\\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:35:13.684 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\\OSGeo4W\\bin\\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\\OSGEO4W\\BIN\\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:36:02.485 [info] Default formatter is set to null for workspace d:\Entwicklung\Python\giprueckexport_py3
2023-12-05 06:36:02.519 [info] Test server listening.
2023-12-05 06:36:02.546 [info] Python interpreter path: C:\OSGeo4W\bin\python.exe
2023-12-05 06:36:02.851 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\\OSGeo4W\\bin\\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\\OSGEO4W\\BIN\\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:36:02.852 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\\OSGeo4W\\bin\\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\\OSGEO4W\\BIN\\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:36:04.554 [info] Starting Pylance language server.
2023-12-05 06:36:04.557 [error] Active interpreter type is detected as Unknown {"id":"C:\\OSGEO4W\\BIN\\PYTHON.EXE","sysPrefix":"","envType":"Unknown","envName":"","envPath":"","path":"C:\\OSGeo4W\\bin\\python.exe","architecture":1,"version":{"raw":"","major":-1,"minor":-1,"patch":-1,"build":[],"prerelease":["final"]},"displayName":"Python","detailedDisplayName":"Python"}
2023-12-05 06:36:04.595 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\\OSGeo4W\\bin\\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\\OSGEO4W\\BIN\\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:36:04.600 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\\OSGeo4W\\bin\\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\\OSGEO4W\\BIN\\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:36:39.215 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\\OSGeo4W\\bin\\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\\OSGEO4W\\BIN\\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:36:39.216 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\\OSGeo4W\\bin\\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\\OSGEO4W\\BIN\\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:37:52.345 [debug] Getting roots
2023-12-05 06:37:52.345 [debug] Getting roots
2023-12-05 06:37:52.345 [debug] Found roots
2023-12-05 06:37:52.345 [debug] Start watching file for changes C:\Users\BKOR\.conda\environments.txt
2023-12-05 06:37:52.345 [debug] Start watching: C:\Users\BKOR\.conda with pattern environments.txt using VSCode API
2023-12-05 06:37:52.345 [debug] Found roots
2023-12-05 06:37:52.345 [debug] Start watching root d:\Entwicklung\Python\giprueckexport_py3 for globs ["python.exe","*/python.exe","*/Scripts/python.exe"]
2023-12-05 06:37:52.345 [debug] Start watching: d:\Entwicklung\Python\giprueckexport_py3 with pattern python.exe using VSCode API
2023-12-05 06:37:52.345 [debug] Start watching: d:\Entwicklung\Python\giprueckexport_py3 with pattern */python.exe using VSCode API
2023-12-05 06:37:52.345 [debug] Start watching: d:\Entwicklung\Python\giprueckexport_py3 with pattern */Scripts/python.exe using VSCode API
2023-12-05 06:37:52.414 [info] Default formatter is set to null for workspace d:\Entwicklung\Python\giprueckexport_py3
2023-12-05 06:37:52.419 [debug] Waiting for test server to start...
2023-12-05 06:37:52.496 [info] Test server listening.
2023-12-05 06:37:52.496 [debug] Test server started.
2023-12-05 06:37:52.496 [debug] Testing: Setting up watcher for d:\Entwicklung\Python\giprueckexport_py3
2023-12-05 06:37:52.497 [debug] Needed to validate C:\OSGeo4W\bin\python.exe with latest info
2023-12-05 06:37:52.497 [info] Python interpreter path: C:\OSGeo4W\bin\python.exe
2023-12-05 06:37:52.497 [debug] Found cached env for C:\OSGeo4W\bin\python.exe
2023-12-05 06:37:52.779 [debug] Found cached env for C:\OSGeo4W\bin\python.exe
2023-12-05 06:37:52.779 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\\OSGeo4W\\bin\\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\\OSGEO4W\\BIN\\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:37:52.781 [debug] Found cached env for C:\OSGeo4W\bin\python.exe
2023-12-05 06:37:52.781 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\\OSGeo4W\\bin\\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\\OSGEO4W\\BIN\\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:37:52.788 [debug] Found cached env for C:\OSGeo4W\bin\python.exe
2023-12-05 06:37:52.788 [debug] Found cached env for C:\OSGeo4W\bin\python.exe
2023-12-05 06:37:53.363 [debug] Clearing context for python dependencies not installed: d:\Entwicklung\Python\giprueckexport_py3\gip_rueckexport.py
2023-12-05 06:37:53.394 [debug] Extension ms-python.isort accessed onDidChangeActiveEnvironmentPath with args: undefined
2023-12-05 06:37:53.399 [debug] Extension ms-python.isort accessed resolveEnvironment with args: {"id":"C:\\OSGEO4W\\BIN\\PYTHON.EXE","path":"C:\\OSGeo4W\\bin\\python.exe"}
2023-12-05 06:37:53.400 [debug] Extension ms-python.isort accessed getActiveEnvironmentPath with args: undefined
2023-12-05 06:37:53.401 [debug] Extension ms-python.isort accessed getActiveEnvironmentPath with args: undefined
2023-12-05 06:37:53.401 [debug] Extension ms-python.isort accessed resolveEnvironment with args: {"id":"C:\\OSGEO4W\\BIN\\PYTHON.EXE","path":"C:\\OSGeo4W\\bin\\python.exe"}
2023-12-05 06:37:53.898 [debug] Clearing context for python dependencies not installed: d:\Entwicklung\Python\giprueckexport_py3\gip_rueckexport.py
2023-12-05 06:37:53.921 [debug] Extension ms-python.vscode-pylance accessed onDidChangeActiveEnvironmentPath with args: undefined
2023-12-05 06:37:53.923 [debug] Extension ms-python.vscode-pylance accessed onDidEnvironmentVariablesChange with args: undefined
2023-12-05 06:37:53.957 [debug] Clearing context for python dependencies not installed: d:\Entwicklung\Python\giprueckexport_py3\gip_rueckexport.py
2023-12-05 06:37:54.108 [debug] Clearing context for python dependencies not installed: d:\Entwicklung\Python\giprueckexport_py3\gip_rueckexport.py
2023-12-05 06:37:54.406 [debug] Delay Trigger[Test Configuration Change]: triggered=1, called=1
2023-12-05 06:37:55.029 [info] Starting Pylance language server.
2023-12-05 06:37:55.030 [debug] Found cached env for C:\OSGeo4W\bin\python.exe
2023-12-05 06:37:55.031 [debug] Found cached env for C:\OSGeo4W\bin\python.exe
2023-12-05 06:37:55.033 [debug] Terminal shell path 'C:\Windows\System32\cmd.exe' identified as shell 'commandPrompt'
2023-12-05 06:37:55.033 [debug] Shell identified as commandPrompt 
2023-12-05 06:37:55.033 [debug] Found cached env for C:\OSGeo4W\bin\python.exe
2023-12-05 06:37:55.034 [error] Active interpreter type is detected as Unknown {"id":"C:\\OSGEO4W\\BIN\\PYTHON.EXE","sysPrefix":"","envType":"Unknown","envName":"","envPath":"","path":"C:\\OSGeo4W\\bin\\python.exe","architecture":1,"version":{"raw":"","major":-1,"minor":-1,"patch":-1,"build":[],"prerelease":["final"]},"displayName":"Python","detailedDisplayName":"Python"}
2023-12-05 06:37:55.067 [debug] Found cached env for C:\OSGeo4W\bin\python.exe
2023-12-05 06:37:55.067 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\\OSGeo4W\\bin\\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\\OSGEO4W\\BIN\\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:37:55.072 [debug] Found cached env for C:\OSGeo4W\bin\python.exe
2023-12-05 06:37:55.072 [error] Invalid version for C:\OSGeo4W\bin\python.exe: {"name":"","location":"","kind":"unknown","executable":{"filename":"C:\\OSGeo4W\\bin\\python.exe","sysPrefix":"","ctime":1679919541207,"mtime":1624394698001},"display":"Python","version":{"major":-1,"minor":-1,"micro":-1,"release":{"level":"final","serial":-1}},"arch":1,"distro":{"org":""},"source":[],"id":"C:\\OSGEO4W\\BIN\\PYTHON.EXE","detailedDisplayName":"Python"}
2023-12-05 06:37:55.079 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2023-12-05 06:37:55.081 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"C:\\OSGEO4W\\BIN\\PYTHON.EXE","path":"C:\\OSGeo4W\\bin\\python.exe"}
2023-12-05 06:37:55.083 [debug] Extension ms-python.vscode-pylance accessed getEnvironmentVariables with args: undefined
2023-12-05 06:37:55.086 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"C:\\OSGEO4W\\BIN\\PYTHON.EXE","path":"C:\\OSGeo4W\\bin\\python.exe"}
2023-12-05 06:37:55.087 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2023-12-05 06:37:57.655 [debug] Clearing context for python dependencies not installed: d:\Entwicklung\Python\giprueckexport_py3\gip_rueckexport.py
2023-12-05 06:38:54.527 [debug] Clearing context for python dependencies not installed: d:\Entwicklung\Python\giprueckexport_py3\gip_rueckexport.py
2023-12-05 06:38:54.607 [debug] Clearing context for python dependencies not installed: d:\Entwicklung\Python\giprueckexport_py3\gip_rueckexport.py
2023-12-05 06:38:54.667 [debug] Clearing context for python dependencies not installed: d:\Entwicklung\Python\giprueckexport_py3\gip_rueckexport.py
2023-12-05 06:38:54.729 [debug] Clearing context for python dependencies not installed: d:\Entwicklung\Python\giprueckexport_py3\gip_rueckexport.py
2023-12-05 06:38:54.789 [debug] Clearing context for python dependencies not installed: d:\Entwicklung\Python\giprueckexport_py3\gip_rueckexport.py
2023-12-05 06:38:54.852 [debug] Clearing context for python dependencies not installed: d:\Entwicklung\Python\giprueckexport_py3\gip_rueckexport.py
2023-12-05 06:38:54.915 [debug] Clearing context for python dependencies not installed: d:\Entwicklung\Python\giprueckexport_py3\gip_rueckexport.py

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Dec 5, 2023
@dpalmetzvbg
Copy link
Author

I also noticed that the .gitignore-File is no longer taken into account, so a lot of files would be added to the repository with the next commit

@dpalmetzvbg
Copy link
Author

dpalmetzvbg commented Dec 5, 2023

Here is also the output of the isort-pane, because here also an error occurs.

2023-12-05 06:35:12.386 [info] Name: isort
2023-12-05 06:35:12.386 [info] Module: isort
2023-12-05 06:35:12.386 [info] Python extension loading
2023-12-05 06:35:12.386 [info] Waiting for interpreter from python extension.
2023-12-05 06:35:12.386 [error] Python version -1.-1 is not supported.
2023-12-05 06:35:12.386 [error] Selected python path: c:\OSGeo4W\bin\python.exe
2023-12-05 06:35:12.386 [error] Supported versions are 3.7 and above.
2023-12-05 06:35:12.386 [info] No interpreter found from setting isort.interpreter
2023-12-05 06:35:12.386 [info] Getting interpreter from ms-python.python extension for workspace d:\Entwicklung\Python\giprueckexport_py3
2023-12-05 06:35:12.386 [info] Python extension loaded
2023-12-05 06:35:12.386 [error] Python version -1.-1 is not supported.
2023-12-05 06:35:12.386 [error] Selected python path: c:\OSGeo4W\bin\python.exe
2023-12-05 06:35:12.386 [error] Supported versions are 3.7 and above.
2023-12-05 06:35:12.386 [info] No interpreter found for d:\Entwicklung\Python\giprueckexport_py3 in settings or from ms-python.python extension
2023-12-05 06:35:12.386 [error] Python interpreter missing:
[Option 1] Select python interpreter using the ms-python.python.
[Option 2] Set an interpreter using "isort.interpreter" setting.
 Please use Python 3.7 or greater.
2023-12-05 06:36:02.868 [info] Name: isort
2023-12-05 06:36:02.868 [info] Module: isort
2023-12-05 06:36:02.868 [info] Python extension loading
2023-12-05 06:36:02.868 [info] Waiting for interpreter from python extension.
2023-12-05 06:36:02.868 [error] Python version -1.-1 is not supported.
2023-12-05 06:36:02.868 [error] Selected python path: c:\OSGeo4W\bin\python.exe
2023-12-05 06:36:02.868 [error] Supported versions are 3.7 and above.
2023-12-05 06:36:02.868 [info] No interpreter found from setting isort.interpreter
2023-12-05 06:36:02.868 [info] Getting interpreter from ms-python.python extension for workspace d:\Entwicklung\Python\giprueckexport_py3
2023-12-05 06:36:02.868 [info] Python extension loaded
2023-12-05 06:36:02.868 [error] Python version -1.-1 is not supported.
2023-12-05 06:36:02.868 [error] Selected python path: c:\OSGeo4W\bin\python.exe
2023-12-05 06:36:02.868 [error] Supported versions are 3.7 and above.
2023-12-05 06:36:02.868 [info] No interpreter found for d:\Entwicklung\Python\giprueckexport_py3 in settings or from ms-python.python extension
2023-12-05 06:36:02.868 [error] Python interpreter missing:
[Option 1] Select python interpreter using the ms-python.python.
[Option 2] Set an interpreter using "isort.interpreter" setting.
 Please use Python 3.7 or greater.
2023-12-05 06:37:52.809 [info] Name: isort
2023-12-05 06:37:52.809 [info] Module: isort
2023-12-05 06:37:52.809 [debug] Configuration: {"name":"isort","module":"isort"}
2023-12-05 06:37:52.809 [info] Python extension loading
2023-12-05 06:37:52.809 [info] Waiting for interpreter from python extension.
2023-12-05 06:37:52.809 [error] Python version -1.-1 is not supported.
2023-12-05 06:37:52.809 [error] Selected python path: c:\OSGeo4W\bin\python.exe
2023-12-05 06:37:52.809 [error] Supported versions are 3.7 and above.
2023-12-05 06:37:52.809 [info] No interpreter found from setting isort.interpreter
2023-12-05 06:37:52.809 [info] Getting interpreter from ms-python.python extension for workspace d:\Entwicklung\Python\giprueckexport_py3
2023-12-05 06:37:52.809 [info] Python extension loaded
2023-12-05 06:37:52.809 [error] Python version -1.-1 is not supported.
2023-12-05 06:37:52.809 [error] Selected python path: c:\OSGeo4W\bin\python.exe
2023-12-05 06:37:52.809 [error] Supported versions are 3.7 and above.
2023-12-05 06:37:52.809 [info] No interpreter found for d:\Entwicklung\Python\giprueckexport_py3 in settings or from ms-python.python extension
2023-12-05 06:37:52.809 [error] Python interpreter missing:
[Option 1] Select python interpreter using the ms-python.python.
[Option 2] Set an interpreter using "isort.interpreter" setting.
 Please use Python 3.7 or greater.

@karrtikr
Copy link

karrtikr commented Feb 1, 2024

Apologies for the delayed response. If you still notice the issue, try using Python: Clear cache and reload window command, and please provide the complete Python logs if the issue still happens.

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Feb 1, 2024
@dpalmetzvbg
Copy link
Author

dpalmetzvbg commented Feb 12, 2024

It turns out that the reason for this was the Oracle SQL Extension "Oracle Developer Tools for VS Code". No idea how this can interfere with the git-modul and the python interpreter. So you can close the issue. And maybe if others encounter the same problem: in my case the ORACLE-Extension was the cause (allthough it happend after an VS Code-Update, and not after an update of the extension, there must have been some changes in VS Code).

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Feb 12, 2024
@glengimm766
Copy link

glengimm766 commented Feb 12, 2024 via email

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

3 participants