python-oauth2
python-oauth2 copied to clipboard
Can not run example with python 3.6
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'