ModuleNotFoundError与请求和bs4

时间:2019-05-07 21:10:53

标签: python

我明白了

  

ModuleNotFoundError:没有名为“ requests”的模块

即使我安装了bs4requests,我在运行代码时也会出现错误

PyCharm Community Edition 2019.1.1(Windows 10 x64)上运行

import requests
from bs4 import BeautifulSoup

url = "https://yellowpages.com.tr/"
response = requests.get(url)
print(response)

0 个答案:

没有答案