Bitwise-01 / YouTubeViews-

YouTube view bot
486 stars 259 forks source link

ModuleNotFoundError: No module named 'mechanize' #61

Open anarchopingu opened 4 years ago

anarchopingu commented 4 years ago
Traceback (most recent call last):
  File "youtube.py", line 10, in <module>
    from core.browser import Browser
  File "/home/pingu/Desktop/YouTubeViews/core/browser.py", line 2, in <module>
    import mechanize
ModuleNotFoundError: No module named 'mechanize'
Shogun05 commented 3 years ago

https://pypi.org/project/mechanize/ just download the module from here.

konstantine-v commented 3 years ago

Not sure if this ticket was solved as it's still marked as open but in case it hasn't then do as Shogun05 said, download the module and it should work. ie. running pip install mechanize solves this issue.

I'd highly recommend also updating the version of python on your machine to ensure you have pip installed using either the installer or (preferably) your system's package manager.

That being said, this project looks to be abandoned, I'd recommend using another project or look at the forks for a usable solution.