About 21,600,000 results
Open links in new tab
  1. VS Code can't find Python - Stack Overflow

    Feb 1, 2021 · I noticed that the Scripts folder was not installed on my Python installation, so I reinstalled Python and followed the above steps. It worked for me. Visual Studio Code has a …

  2. Check if my Python has all required packages - Stack Overflow

    Oct 2, 2018 · Check if my Python has all required packages Asked 12 years, 7 months ago Modified 2 years, 4 months ago Viewed 71k times

  3. What should I do with "Unexpected indent" in Python?

    Python uses spacing at the start of the line to determine when code blocks start and end. Errors you can get are: Unexpected indent. This line of code has more spaces at the start than the …

  4. python - How to add to the PYTHONPATH in Windows, so it finds …

    Sep 13, 2010 · Closed 2 years ago. I have a directory which hosts all of my Django apps (C:\My_Projects). I want to add this directory to my PYTHONPATH so I can call the apps …

  5. How can I check my python version in cmd? - Stack Overflow

    Jun 15, 2021 · I has downloaded python in python.org, and I wanted to check my python version, so I wrote python --version in cmd, but it said just Python, without version. Is there any other …

  6. How do I get a list of locally installed Python modules?

    My answer entirely based on the Python`s standard library and cover all modules available for import. A biggest drawback my answer - no a support for the the CPython 2.

  7. How do I find the location of my Python site-packages directory?

    python -m site --user-site If this points to a non-existing directory check the exit status of Python and see python -m site --help for explanations. Hint: Running pip list --user or pip freeze --user …

  8. Formatter black is not working on my VSCode...but why?

    Dec 2, 2020 · That said, these kind of problems usually are about using a python interpreter where black isn't installed. I recommend the use of virtual environments, but first check your …

  9. How do I check which version of Python is running my script?

    1502 How do I check which version of the Python interpreter is running my script? See Find full path of the Python interpreter (Python executable)? if you are looking to find exactly which …

  10. Can't import my own modules in Python - Stack Overflow

    In my case it was Windows vs Python surprise, despite Windows filenames are not case sensitive, Python import is. So if you have Stuff.py file you need to import this name as-is.