pythonpath在哪
You are here because you are using:
您在这里是因为您正在使用:
- Windows OS version 10+ Windows OS版本10+
- Python version 3.3+ Python版本3.3+
- Anaconda3 Python3
And you would like to edit your PYTHONPATH
permanently.
您想永久编辑您的PYTHONPATH
。
TL; DR (TL;DR)
Go to
C:\Users\<your_username>\Anaconda3\Lib\site-pa
ckages转到
C:\Users\<your_username>\Anaconda3\Lib\site-pa
cksCreate a file
python37.pth
创建一个文件
python37.pth
Edit the file to include this line
C:\\Users\\<your_username>\\my_
module编辑文件以包括此行
C:\\Users\\<your_username>\\my_
模块
加长版; 阅读 (The Long version; Do Read)
序幕 (Prologue)
In most cases, edi