Skip to content

Can not run example with python 3.6 #217

Open
@truonghoangnguyen

Description

@truonghoangnguyen

I Can not run example/server.py

(.evn) D:\projects\python-oauth2>python example\server.py
Traceback (most recent call last):
  File "example\server.py", line 25, in <module>
    from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer
ModuleNotFoundError: No module named 'BaseHTTPServer'

after fix BaseHTTPRequestHandler (replace from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer to from http.server import BaseHTTPRequestHandler,HTTPServer)another error:

(.evn) D:\projects\python-oauth2>python example\server.py
Traceback (most recent call last):
  File "example\server.py", line 28, in <module>
    import oauth.oauth as oauth
ModuleNotFoundError: No module named 'oauth'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions