Skip to content

cannot import disqusapi with python3 #34

@carsonpun

Description

@carsonpun

After I started ipython3, and typed in the shell import disqusapi, it showed ImportError: No module named 'httplib'. Seems look like the disqusapi isn't supporting python3?

I'm using Python 3.5.2 :: Anaconda custom (x86_64)

Here's the error log:

In [1]: import disqusapi
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-2-1dede7c1a4ae> in <module>()
----> 1 import disqusapi

/Users/kspun/anaconda3/lib/python3.5/site-packages/disqusapi/__init__.py in <module>()
     13     __version__ = 'unknown'
     14 
---> 15 import httplib
     16 import os.path
     17 import simplejson

ImportError: No module named 'httplib'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions