YouTubeViews- icon indicating copy to clipboard operation
YouTubeViews- copied to clipboard

ModuleNotFoundError: No module named 'mechanize'

Open anarchopingu opened this issue 4 years ago • 2 comments

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'

anarchopingu avatar Nov 02 '20 19:11 anarchopingu

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

Shogun05 avatar Nov 11 '20 16:11 Shogun05

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.

konstantine-v avatar Jan 05 '21 17:01 konstantine-v