
- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is PYTHONPATH environment variable in Python?
PYTHONPATH is an environment variable which you can set to add additional directories where python will look for modules and packages. For most installations, you should not set these variables since they are not needed for Python to run. Python knows where to find its standard library.
The only reason to set PYTHONPATH is to maintain directories of custom Python libraries that you do not want to install in the global default location (i.e., the site-packages directory).
Read the following docs to get a better understanding of Python environment variables: http://docs.python.org/using/cmdline.html#environment-variables
- Related Questions & Answers
- How to set python environment variable PYTHONPATH on Linux?
- How to set python environment variable PYTHONPATH on Mac?
- How to set python environment variable PYTHONPATH on Windows?
- What is JAVA_HOME variable in Java Environment?
- What is an Environment Variable in Postman?
- What is the computing environment?
- What is maven in Java environment?
- What is Java run time environment?
- How to get environment variable value using PowerShell?
- What is the Java Runtime Environment (JRE)?
- Python Virtual Environment
- Python Environment Variables
- What is Variable Transformation?
- How to set the GOPATH environment variable on Ubuntu?
- How do we set the Java environment variable in cmd.exe?
Advertisements