V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
bestehen
V2EX  ›  Python

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

  •  
  •   bestehen · 2018-07-24 11:07:38 +08:00 · 1485 次点击
    这是一个创建于 2341 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1033 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 19:28 · PVG 03:28 · LAX 11:28 · JFK 14:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.