
本文共 1907 字,大约阅读时间需要 6 分钟。
������������������������������������Python���������������������������������������������������������������������������������������������������������������������������
1. ������������������
- ������������������������������������������������������������
sys.path
��������������������� - ���������������������������������������������Python������������������������������������������������
site-packages
������������python-path.txt
������������
Server Python ���������������������
������1���������Python������������
������������������Python������������������������
���������ConvLab������������������Python���������
/home/huangqiao/anaconda3/envs/convlab/lib/python3.6/
������2���������Python������������
������������������������������������
cd /home/huangqiao/anaconda3/envs/convlab/lib/python3.6/
������3���������������������������������
������������������������python.pth
���������
touch python.pth
������4���������.pth������
���������������������python.pth
���������
vi python.pth
������5������������������������
���.pth���������������������������������������������������������������������������������
- ������������������������������������
__init__.py
���������- ������������������������������
/full/path/to/your/package/
������������
- ���������������������������������������������������������
__init__.py
��������� - ���������������������������������������������������������������Python���������������������
- ������������������������������������������Python���������������������������������������������
������������
���Python������������������������������������������������������������������������
import syssys.path
���������������������������������sys.path
������������
������������������
���������������������������������PYTHONPATH
������������������������������������������������������������������������������site-packages
������������������
���������������������������������������������������������������������������Python������
发表评论
最新留言
关于作者
