shaldengeki / python-mal

Python interface to MyAnimeList
Do What The F*ck You Want To Public License
18 stars 20 forks source link

Python3 support #10

Open Nekmo opened 8 years ago

Nekmo commented 8 years ago
(tmp-69c900ef2752dd6) [nekmo@shiori ~/.virtualenvs/tmp-69c900ef2752dd6]$ ipython
/usr/lib/python3.5/site-packages/IPython/core/interactiveshell.py:712: UserWarning: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv.
  warn("Attempting to work in a virtualenv. If you encounter problems, please "
Python 3.5.2 (default, Jun 28 2016, 08:46:01) 
Type "copyright", "credits" or "license" for more information.

IPython 5.0.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: import myanimelist

In [2]: from myanimelist.session import Session
   ...: s = Session()
   ...: 
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-2-f9b95cce14cd> in <module>()
----> 1 from myanimelist.session import Session
      2 s = Session()

/home/nekmo/.virtualenvs/tmp-69c900ef2752dd6/src/python-mal/myanimelist/session.py in <module>()
      4 import requests
      5 
----> 6 import anime
      7 import manga
      8 

ImportError: No module named 'anime'

In [3]:
rachmadaniHaryono commented 8 years ago

Hi,

This is happen, because @shaldengeki isn't actively maintain this project anymore. See #8

Only I and @pushrbx, who are still actively update this project. If you are looking for python 3 only package the fork from @pushrbx, because his fork only support that.