查看Python安装路径以及安装包路径小技巧
特别是linux系统,装了多个python,有时候找不到python的绝对路径,有时候装了个django,又找不到django安装到哪里了。。当然查看的方法有很多种,这里列出几种,供没有经验的人参考下。
G:\code\moniter>python-c"fromdistutils.sysconfigimportget_python_lib;print(get_python_lib())" C:\Python27\Lib\site-packages
G:\code\moniter>python-c"importos;printos.__file__" C:\Python27\lib\os.pyc
G:\code\moniter>python-c"importsys;printsys.executable" C:\Python27\python.exe
热门推荐
1 训练狗狗憋尿
2 狗狗追踪训练
3 狗狗训练要多少钱
5 深圳狗狗训练
6 训练狗狗唤回
7 狗狗叫怎么训练
8 狗狗训练班
10 狗狗社会化训练
11 狗狗叫回训练
12 广州狗狗训练学校
13 狗狗训练躺下
14 狗狗随行训练
15 训练狗狗巡回
16 狗狗要怎么训练
17 狗狗喂食训练
18 训练狗狗躺下