What exactly should be set in PYTHONPATH?

后端 未结 3 1586
长发绾君心
长发绾君心 2020-12-04 17:47

I\'m going through and writing a setup doc for other developers at work for a python project and I\'ve been reading up on the PYTHONPATH environment variable. I

3条回答
  •  眼角桃花
    2020-12-04 18:05

    You don't have to set either of them. PYTHONPATH can be set to point to additional directories with private libraries in them. If PYTHONHOME is not set, Python defaults to using the directory where python.exe was found, so that dir should be in PATH.

提交回复
热议问题