If you’re using bash (on a Mac or GNU/Linux distro), add this to your ~/.bashrc
export PYTHONPATH="${PYTHONPATH}:/my/other/path"
More Related Contents:
- How to add to the PYTHONPATH in Windows, so it finds my modules/packages?
- How do you run a Python script as a service in Windows?
- Why do I get a SyntaxError for a Unicode escape in my file path? [duplicate]
- Python simulate keydown
- Can I install Python windows packages into virtualenvs?
- Check if a process is running or not on Windows?
- Is it possible to kill a process on Windows from within Python?
- subprocess: deleting child processes in Windows
- How to install pip3 on Windows?
- Minimal set of files required to distribute an embed-Cython-compiled code and make it work on any machine
- How to access a file’s properties on Windows?
- How to execute a command prompt command from python
- How to build a SystemTray app for Windows?
- Why use sys.path.append(path) instead of sys.path.insert(1, path)?
- What user do python scripts run as in windows? [duplicate]
- Installed module using pip, not found
- How to run different python versions in cmd [duplicate]
- Multiprocessing launching too many instances of Python VM
- Running Python Script as a Windows background process [duplicate]
- How to safely write to a file?
- Using Windows Python from Cygwin
- Discover missing module using command-line (“DLL load failed” error)
- Script to change ip address on windows
- Converting a Mercurial (hg) repository to Git on Windows (7)
- Temporary file association for single cmd.exe session
- Installing lxml, libxml2, libxslt on Windows 8.1
- Trouble installing SciPy on windows
- Python multiprocessing linux windows difference
- How to properly report an exit status in batch?
- How can I stop Python’s csv.DictWriter.writerows from adding empty lines between rows in Windows?