Python 中的 site.getsitepackages() 三个目录代表什么?

2018-07-24 11:07:38 +08:00
 bestehen

site.getsitepackages() ['/usr/lib64/python3.4/site-packages', '/usr/lib/python3.4/site-packages', '/usr/lib/site-python']

[1]+ Stopped python3 shenjianlin@iZm5eirdrun3ajzx3iii0wZ:~$ cd /usr/lib/python3.4/site-packages/ shenjianlin@iZm5eirdrun3ajzx3iii0wZ:/usr/lib/python3.4/site-packages$ ls apache_libcloud-2.0.0-py3.4.egg-info flask pip six-1.10.0-py3.4.egg-info backports_abc-0.5-py3.4.egg-info Flask-0.12.dist-info pip-10.0.1.dist-info six-1.11.0.dist-info backports_abc.py future pipenv six.py bleach future-0.16.0.dist-info pipenv-10.1.0.dist-info sklearn-0.0.dist-info bleach-1.5.0.dist-info html5lib pkg_resources tensorboard certifi html5lib-0.9999999-py3.4.egg-info pybind11 tensorflow certifi-2018.1.18.dist-info idna pybind11-2.2.1.dist-info tensorflow_tensorboard-0.4.0.dist-info chardet idna-2.6.dist-info pycache tests chardet-3.0.4.dist-info itsdangerous-0.24.dist-info pyparsing-2.2.0.dist-info tflearn click itsdangerous.py pyparsing.py tflearn-0.3.2.dist-info click-6.7.dist-info jieba pyquery tqdm clonevirtualenv.py jieba-0.39.dist-info pyquery-1.4.0.dist-info tqdm-4.23.4.dist-info cssselect jinja2 python_dateutil-2.7.3.dist-info urllib3 cssselect-1.0.3.dist-info Jinja2-2.10.dist-info pytz urllib3-1.22.dist-info cycler-0.10.0.dist-info Jinja2-2.8-py3.4.egg-info pytz-2018.4.dist-info virtualenv-15.1.0.dist-info cycler.py libcloud requests virtualenv_clone-0.2.6.dist-info dateutil libfuturize requests-2.18.4.dist-info virtualenv.py easy-install.pth libpasteurize salt virtualenv_support easy_install.py _markerlib salt-2018.3.0-py3.4.egg-info wheel enum markupsafe selenium wheel-0.30.0.dist-info enum34-1.1.6.dist-info MarkupSafe-1.0.dist-info selenium-3.12.0.dist-info xlrd external past setuptools xlrd-1.1.0.dist-info fake_useragent pew setuptools-19.2-py3.4.egg-info yt_common fake_useragent-0.1.10.dist-info pew-1.1.2.dist-info setuptools-38.4.0.dist-info

1464 次点击
所在节点    Python
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/473590

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX