Home  >  Q&A  >  body text

python爬虫 - Mac下内置python2.7如何安装模块?

黄舟黄舟2716 days ago271

reply all(1)I'll reply

  • 怪我咯

    怪我咯2017-04-18 09:30:42

    pip list The listed modules have been downloaded and installed, directly in the code:

    import bs4

    It’s ready to use, no installation required

    In addition, it is better to use pip install 會比 easy_install when installing packages or modules.

    $ pip install bs4

    Questions I answered: Python-QA

    reply
    0
  • Cancelreply