Question: How Add Pythonpath Linux?

Question: How Add Pythonpath Linux?
Contents

Type open . bash_profile. In the text file that pops up, add this line at the end: export PYTHONPATH=$PYTHONPATH:foo/bar. Save the file, restart the Terminal, and you’re done.

Where is Pythonpath Linux?

3 Answers

  1. PYTHONPATH is an environment variable.
  2. /usr/lib/python2.7 on Ubuntu.
  3. you shouldn’t install packages manually. Instead, use pip. …
  4. if you use pip or setuptools, then you don’t need to set PYTHONPATH explicitly.

Where is Pythonpath?

Most System Variables, PythonPath included, are added via “System Properties”. To access this right-click the Desktop icon titled “Computer” and select “Properties” from the context menu. This opens the main “System” window.

Alexander Ross
Author

Alexander Ross

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.