![](/img/trans.png)
[英]ModuleNotFoundError: No module named 'dateutil' but Requirement already satisfied
[英]getting error “modulenotfounderror: No module named 'google'” but when trying to install through command prompt it says requirement already satisfied
很不言自明,嘗試從google搜索中做一個小的網頁抓取工具,但是當嘗試導入時,使用“ from google import search
”時出現錯誤:
ModuleNotFoundError:沒有名為“ google”的模塊。
當嘗試使用“ pip install google
”從命令提示符再次pip install google
,出現錯誤:要求已滿足:谷歌在c:\\users\\dsimard\\python\\lib\\site-packages (2.0.1)
已滿足: beautifulsoup4
在c:\\users\\dsimard\\python\\lib\\site-packages (from google) (4.6.0)
我在Eclipse中編寫該程序。
嘗試from googlesearch import search
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.