You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python version (& distribution if applicable, e.g., Anaconda): miniconda3, python 3.8.18
Type of virtual environment used (e.g., conda, venv, virtualenv, etc.): conda
Operating system (and version): macOS 14.6.1
Version of tool extension you are using: v2023.10.0
Behaviour
Expected Behavior
For the plugin to work
Actual Behavior
It doesn't work.
I receive this error:
Flake8 client: couldn't create connection to the server
Reproduction Steps:
It happenes when I run with command palette "Flake8: Restart server"
Logs:
Click here for detailed logs
Comment: I've removed all of my personal details
2024-09-12 09:17:10.228 [info] Launching server using command /Users//opt/miniconda3/bin/python failed. Error: spawn /Users//opt/miniconda3/bin/python ENOENT
2024-09-12 09:17:10.228 [error] Server: Start failed: Launching server using command /Users//opt/miniconda3/bin/python failed. Error: spawn /Users//opt/miniconda3/bin/python ENOENT
2024-09-12 09:18:23.690 [info] Interpreter from setting flake8.interpreter: /Users//opt/miniconda3/bin/python
2024-09-12 09:18:23.690 [info] Server: Stop requested
2024-09-12 09:18:23.691 [error] Server: Stop failed: Error: Client is not running and can't be stopped. It's current state is: startFailed
2024-09-12 09:18:23.691 [info] Interpreter from setting flake8.interpreter: /Users//opt/miniconda3/bin/python
2024-09-12 09:18:23.699 [info] Server run command: /Users//opt/miniconda3/bin/python /Users//.vscode/extensions/ms-python.flake8-2023.10.0/bundled/tool/lsp_server.py
2024-09-12 09:18:23.700 [info] Server: Start requested.
2024-09-12 09:18:23.700 [debug] Server State: Starting
2024-09-12 09:18:23.711 [debug] Server State: Stopped
2024-09-12 09:18:23.711 [info] [Error - 09:18:23] Flake8 client: couldn't create connection to server.
2024-09-12 09:18:23.712 [info] Launching server using command /Users//opt/miniconda3/bin/python failed. Error: spawn /Users//opt/miniconda3/bin/python ENOENT
2024-09-12 09:18:23.712 [error] Server: Start failed: Launching server using command /Users//opt/miniconda3/bin/python failed. Error: spawn /Users//opt/miniconda3/bin/python ENOENT
Outcome When Attempting Debugging Steps:
Did running it from the command line work? Attempting to run in the command line gives me no errors, and no other output either.
Extra Details
I was installing different linters and I saw that originally Flake8 worked and I could see the linting results. However, after installing something else it broke somehow.
I also installed Black linter extension and https://marketplace.visualstudio.com/items?itemName=demystifying-javascript.python-extensions-pack
I've since tried to remove all the corresponding folders for those extensions, but this didn't help.
The text was updated successfully, but these errors were encountered:
Diagnostic Data
Behaviour
Expected Behavior
For the plugin to work
Actual Behavior
It doesn't work.
I receive this error:
Flake8 client: couldn't create connection to the server
Reproduction Steps:
It happenes when I run with command palette "Flake8: Restart server"
Logs:
Click here for detailed logs
Comment: I've removed all of my personal details 2024-09-12 09:17:10.228 [info] Launching server using command /Users//opt/miniconda3/bin/python failed. Error: spawn /Users//opt/miniconda3/bin/python ENOENT 2024-09-12 09:17:10.228 [error] Server: Start failed: Launching server using command /Users//opt/miniconda3/bin/python failed. Error: spawn /Users//opt/miniconda3/bin/python ENOENT 2024-09-12 09:18:23.690 [info] Interpreter from setting flake8.interpreter: /Users//opt/miniconda3/bin/python 2024-09-12 09:18:23.690 [info] Server: Stop requested 2024-09-12 09:18:23.691 [error] Server: Stop failed: Error: Client is not running and can't be stopped. It's current state is: startFailed 2024-09-12 09:18:23.691 [info] Interpreter from setting flake8.interpreter: /Users//opt/miniconda3/bin/python 2024-09-12 09:18:23.699 [info] Server run command: /Users//opt/miniconda3/bin/python /Users//.vscode/extensions/ms-python.flake8-2023.10.0/bundled/tool/lsp_server.py 2024-09-12 09:18:23.700 [info] Server: Start requested. 2024-09-12 09:18:23.700 [debug] Server State: Starting 2024-09-12 09:18:23.711 [debug] Server State: Stopped 2024-09-12 09:18:23.711 [info] [Error - 09:18:23] Flake8 client: couldn't create connection to server. 2024-09-12 09:18:23.712 [info] Launching server using command /Users//opt/miniconda3/bin/python failed. Error: spawn /Users//opt/miniconda3/bin/python ENOENT 2024-09-12 09:18:23.712 [error] Server: Start failed: Launching server using command /Users//opt/miniconda3/bin/python failed. Error: spawn /Users//opt/miniconda3/bin/python ENOENTOutcome When Attempting Debugging Steps:
Did running it from the command line work? Attempting to run in the command line gives me no errors, and no other output either.
Extra Details
I was installing different linters and I saw that originally Flake8 worked and I could see the linting results. However, after installing something else it broke somehow.
I also installed Black linter extension and https://marketplace.visualstudio.com/items?itemName=demystifying-javascript.python-extensions-pack
I've since tried to remove all the corresponding folders for those extensions, but this didn't help.
The text was updated successfully, but these errors were encountered: