About 298,000 results
Open links in new tab
  1. 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 the Edit Envir...

  2. How do I add Python to the Windows PATH? - Super User

    16 For anyone trying to achieve this with Python 3.3+, the Windows installer now includes an option to add python.exe to the system search path. Read more in the docs.

  3. python - How to add to the PYTHONPATH in Windows, so it finds my ...

    Sep 13, 2010 · In Python 3.4 on windows it worked when I added it to PATH enviroment variable instead of PYTHONPATH. Like if you have installed Python 3.4 in D:\Programming\Python34 then add this at …

  4. python not recognized in Windows CMD even after adding to PATH

    Jun 12, 2014 · Closed 2 years ago. I'm trying to -learn to write and- run Python scripts on my Windows 7 64 bit machine. I installed Python in C:/Python34, and I added this to my Windows' PATH variable :

  5. adding directory to sys.path /PYTHONPATH - Stack Overflow

    The problem is that if I use sys.path.append(mod_directory) to append the path and then open the python interpreter, the directory mod_directory gets added to the end of the list sys.path. If I export …

  6. python - Permanently add a directory to PYTHONPATH? - Stack Overflow

    Aug 4, 2010 · Whenever I use sys.path.append, the new directory will be added. However, once I close python, the list will revert to the previous (default?) values. How do I permanently add a directory to …

  7. python - anaconda - path environment variable in windows - Stack …

    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 anaconda …

  8. How to correctly set PYTHONPATH for Visual Studio Code

    Dec 6, 2018 · I have a situation that I believe is relatively common. I want a script to import a module from another directory. My python project is laid out as follows: ~/project/ | |---modules/ | |---mod.py |- …

  9. Visual Studio Code - How to add multiple paths to python path?

    Jan 5, 2017 · I have it set to the path of my virtual environment's python interpreter in all the files (settings, launch and task.json). What you are reading states that if it is in the settings.json, it will be …

  10. Python - add PYTHONPATH during command line module run

    54 import sys sys.path.append('your certain directory') Basically sys.path is a list with all the search paths for python modules. It is initialized by the interpreter. The content of PYTHONPATH is …