Open djaliari opened 3 years ago
Any clue how to fix the above error messag
you have to get a package named fake_useragent. To do that, you can go to cmd and type: pip install fake_useragent. I'm pretty sure python comes with pip but if you don't have pip, here is a link which you could see: https://pip.pypa.io/en/stable/installation/ I don't know about mac os and linux but for windows, you type the commands from the website into your cmd. if you use pycharm, you can press ctrl+alt+s project: project name --> python interpreter, click the "+" button and search for the package. for visual studio code 2022, you can press the yellow gift box button on the top bar and search for the package and there will be a result something like: pip install fake_useragent. I'm not that much of a pro but I hope that this helped!
File "C:\Users\Jovee\repos\YouTube-View-Bot\viewbot.py", line 5, in
from fake_useragent import UserAgent
ModuleNotFoundError: No module named 'fake_useragent'