C:\Python\Python36\python.exe C:/Users/Administrator/PycharmProjects/imooc/test/test_bs4.py
<module 'bs4' from 'C:\\Python\\Python36\\lib\\site-packages\\bs4\\__init__.py'>
Process finished with exit code 0
<module 'bs4' from 'C:\\Python\\Python36\\lib\\site-packages\\bs4\\__init__.py'>
Process finished with exit code 0
2017-09-12
在电脑上安装了Python3.6和pycharm,使用老师说的方法安装ps4
(其实就是找到pip.exe的所在路径,在控制台窗口【cmd.exe】输入 pip install beautifulsoup4)。
等待安装完成,就可以在pycharm中运行示例了。
c:\Python\Python36\Scripts>pip install beautifulsoup4
Collecting beautifulsoup4
………
Successfully installed beautifulsoup4-4.6.0
(其实就是找到pip.exe的所在路径,在控制台窗口【cmd.exe】输入 pip install beautifulsoup4)。
等待安装完成,就可以在pycharm中运行示例了。
c:\Python\Python36\Scripts>pip install beautifulsoup4
Collecting beautifulsoup4
………
Successfully installed beautifulsoup4-4.6.0
2017-09-12