MAC 爲python3安裝 beautifulsoup4

先裝pip (終端)輸入命令:sudo easy_install pip

安bs4 輸入命令:pip install beautifulsoup4

出現錯誤
OSError: [Errno 13] Permission denied:

輸入命令:sudo easy_install beautifulsoup4

這時把bs裝到了Mac系統自帶了Python2.7

把beautifulsoup4裝到Python3

輸入命令:pip3 install beautifulsoup4

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章