About 50 results
Open links in new tab
  1. How to correctly set PYTHONPATH for Visual Studio Code

    Dec 6, 2018 · It looks like PyBOMBS did not install its own python interpreter into my prefix directory. So I need to use VSCode with my normal python interpreter located in /usr/bin/python2.7. So redefining …

  2. python - VSCode: Why isn't debugger stopping at breakpoints? - Stack ...

    Jun 27, 2019 · I have just installed VS Code and the Python extension, and I have not been able to get the debugger to work. Every time I try to use the debugger, it just skips over any breakpoints that I …

  3. visual studio code - Python in VSCode: Set working directory to python ...

    Jun 26, 2019 · The first setting sets the working directory to the python file path only if it is run in the terminal. However, the working directory will revert to the root directory if the code is run in the …

  4. python - VSCode "Import X could not be resolved" even though listed ...

    May 20, 2022 · 1 python3 -m pip install <modulename> worked for me. Over the years, quite some python versions accumulated on the system, and using the normal python or pip command installed …

  5. How can I change the Python version in Visual Studio Code?

    Jan 7, 2018 · If you selected python 3.6 in Visual Studio Code > View > Command Palette (CTRL+SHIFT+P) > Python: Select Interpreter, the play (execute) button will begin the call with the …

  6. How to execute Python code from within Visual Studio Code

    To extend vlad2135's answer (read his first); that is how you set up Python debugging in Visual Studio Code with Don Jayamanne's great Python extension (which is a pretty full featured IDE for Python …

  7. VSCode does not detect installed python libraries and modules

    Aug 29, 2024 · I have a Python project open in VSCode that operates various libraries and it's composed of different modules. Venv is activated, and all libraries are installed in venv.

  8. How to specify conda env in Python Debugger in VScode

    Feb 4, 2025 · Problem When I want to debug a Python file and hit the button Python Debugger: Debug Python File or Debugin with JSON, it selects the default conda environment. Workaround To fix that, …

  9. python - How to enable Pylint in VSCode? - Stack Overflow

    Jun 19, 2020 · I can't get pylint errors to show up in VSCode. I installed pylint globally (sudo apt install pylint), I created venv and installed it there with pip, I selected pylint as linter in VSCode, enabled...

  10. VSCode 'Run Python file' does nothing - Stack Overflow

    Jan 3, 2023 · When I press the 'play' button to run my python code, nothing happens. This is true also with debugging. There is no activity in either the built-in cmd or powershell terminals, but through …