pycharm(python)获取各种浏览器的useraget,安装fake-ueragent

时间:2024-04-05 12:42:35

打开pycharm
pycharm(python)获取各种浏览器的useraget,安装fake-ueragent
点击pycharm下方菜单栏的Terminal
pycharm(python)获取各种浏览器的useraget,安装fake-ueragent
在命令行输入pip install fake_useragent
出现(Successfully installed fake_useragent-0.1.11)即安装成功
因为我已经安装过,所以会显示已安装
(Requirement already satisfied: fake_useragent in e:\python\anaconda\lib\site-packages (0.1.11))
使用方法看下方链接
(fake_useragent的安装及使用方法)Git Hub:https://github.com/hellysmile/fake-useragent