How do I configure Pythonpath?

How do I configure Pythonpath?
Answer
Setting PYTHONPATH more permanently
  1. Open Terminal.app ;
  2. Open the file ~/.bash_profile in your text editor – e.g. atom ~/.bash_profile ;
  3. Add the following line to the end: export PYTHONPATH=”/Users/my_user/code”
  4. Save the file.
  5. Close Terminal.app ;
  6. Start Terminal.app again, to read in the new settings, and type this:
 

Tìm kiếm

Back
Top