About 213,000 results
Open links in new tab
  1. python - How to add to the PYTHONPATH in Windows, so it finds …

    Sep 13, 2010 · The question isn't about the PATH that DOS uses to find commands, but the Python path, i.e. sys.path in Python. In most operating systems, Python just uses the system …

  2. Adding Python to PATH on Windows - Stack Overflow

    I've been trying to add the Python path to the command line on Windows, yet no matter the method I try, nothing seems to work. I've used the set command, I've tried adding it through …

  3. python - How do you correctly set the PYTHONPATH variable on …

    Feb 29, 2012 · In order for Python to work correctly only Windows, the C:\Python27 directory should be listed in PATH. If you ran the installer as an Administrator, the installer will modify …

  4. How to correctly set PYTHONPATH for Visual Studio Code

    Dec 6, 2018 · I did not manage to set the PYTHONPATH in Visual Studio Code, but I have found how to make VSCode inherit it from the systems environment variables.

  5. How Should I Set Default Python Version In Windows?

    Feb 23, 2011 · 170 I installed Python 2.6 and Python 3.1 on Windows 7 and set environment variable: path = d:\python2.6. When I run python in cmd, it displays the python version 2.6, …

  6. python - anaconda - path environment variable in windows

    Here is the solution: In anaconda (as well as in other implementations), set the path environment variable to the directory where 'python.exe' is installed. As a default, the python.exe file in …

  7. Python - add PYTHONPATH during command line module run

    I tried python -c"import sys;sys.path.append('/my/dir')" and then python myscript.py mycommand, but it obviously doesn't share the path from the first interpreter session with the next.

  8. python - How do you set your pythonpath in an already-created ...

    Jan 21, 2011 · Note for people trying to get this to work: you have to add an existing filesystem path (it doesn't have to be a python module) or the path won't show up in sys.path. Quoting …

  9. python - How to set PYTHONPATH in Windows? - Stack Overflow

    Sep 28, 2015 · On Windows, py is the Python Launcher. This is specific tool for Windows made and shipped with Windows installers to find and use different versions of Python. Linux uses …

  10. PYTHON How to SET pythonpath in window 10 - Stack Overflow

    Apr 27, 2022 · 1 I'm trying to set pythonpath but when I follow in some example in other stackoverflow, I just get a red message or nothing happened. In my picture, u can see, no my …