Xonshiz / anime-dl

Anime-dl is a command-line program to download anime from CrunchyRoll and Funimation.
MIT License
229 stars 37 forks source link

AttributeError: module 'crunchyroll' has no attribute 'Crunchyroll' #99

Closed sh-hugo closed 5 years ago

sh-hugo commented 5 years ago
Traceback (most recent call last):
  File "./__main__.py", line 16, in <module>
    class Main():
  File "./__main__.py", line 73, in Main
    logger=logger, episode_range=args.range)
  File "/root/project/anime-dl/anime_dl/Anime_dl.py", line 28, in __init__
    sites.crunchyroll.Crunchyroll(
AttributeError: module 'crunchyroll' has no attribute 'Crunchyroll'
Xonshiz commented 5 years ago

Hey, can you please mention what is your operating system? And also, the python version.

Watashis commented 5 years ago

I have the same problem Image

Xonshiz commented 5 years ago

Got it. The imports will be different for python 3. This should still work for Python 2. I think I'll just port it to Python 3.

Watashis commented 5 years ago

Python 2.7.16 ImportError: No module named anime_d Image

Xonshiz commented 5 years ago

Wow, WTH! My Pycharm has been lying to me. I'll check this out and push an update in a while then. Sorry for the mess, folks.

Watashis commented 5 years ago

Well, we are waiting, but thanks for the work anyway.

(I don't know English, sorry)