Completion and linting in the editor for Python files will not work during current session, or stopped working
Question:
Answers:
As the dialog says you need to check your firewall or antivirus since probably one of them is stopping/preventing the launching of the process that Spyder uses to provide completions and linting. To check if either your firewall or antivirus is causing the problem you could try to deactivate/disable them temporarly and try to launch Spyder again. If that helps then you need to create rules to allow Python processes.
Another option, if you are ok without having those services (completion and linting), is to ignore this message and select the Don't show again
checkbox to prevent seen it again.
For more details regarding completion and linting services that Spyder provides you can check the documentation here:
Disabling the firewall and antivirus didn’t work for me. I was able to fix this issue by resetting Spyder. In the Anaconda prompt, enter:
spyder --reset
In my case the error was caused by incompatible versions and fixed by (here for Python 3.10)
python3.10 -m pip install -U python-language-server
As the dialog says you need to check your firewall or antivirus since probably one of them is stopping/preventing the launching of the process that Spyder uses to provide completions and linting. To check if either your firewall or antivirus is causing the problem you could try to deactivate/disable them temporarly and try to launch Spyder again. If that helps then you need to create rules to allow Python processes.
Another option, if you are ok without having those services (completion and linting), is to ignore this message and select the Don't show again
checkbox to prevent seen it again.
For more details regarding completion and linting services that Spyder provides you can check the documentation here:
Disabling the firewall and antivirus didn’t work for me. I was able to fix this issue by resetting Spyder. In the Anaconda prompt, enter:
spyder --reset
In my case the error was caused by incompatible versions and fixed by (here for Python 3.10)
python3.10 -m pip install -U python-language-server