Jul-21-2018, 11:23 PM
Error:Traceback (most recent call last):
File "C:\Python36\kodovi\lucky.py", line 4, in <module>
import webbrowser, bs4, requests, sys
ModuleNotFoundError: No module named 'bs4'
>>> %Run lucky1.py
Traceback (most recent call last):
File "C:\Python36\kodovi\lucky1.py", line 5, in <module>
import bs4
ModuleNotFoundError: No module named 'bs4'
Now I just feel completely lost. lucky is my code filename and I named lucky1 what you Larz wrote. I used Thonny IDE.I installed bs4 of course.
and when I run code from Notepad++ with command prompt I get this:
Output:C:\Python36\kodovi>lucky novak djokovic
Googling...
None
my search term in command line is "novak djokovic" and it's not giving any result obviously.I'll try to find solution on stackoverflow or smth like that.