Skip to content

Instantly share code, notes, and snippets.

@paolodina
Created August 14, 2014 15:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paolodina/611faca32e36bb73fb26 to your computer and use it in GitHub Desktop.
Save paolodina/611faca32e36bb73fb26 to your computer and use it in GitHub Desktop.
flask-oauth-jython import error
paolo@tk:~/devel/nicola/golap-project/project$ jython
from Jython 2.7b3+ (default:2c45f75a5406, Aug 14 2014, 10:08:07)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.7.0_55
Type "help", "copyright", "credits" or "license" for more information.
>>> from flask_oauthlib.client import OAuth
log4j:WARN No appenders could be found for logger (org.python.netty.util.internal.logging.InternalLoggerFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/paolo/devel/nicola/golap-project/jython/Lib/site-packages/Flask_OAuthlib-0.6.0-py2.7.egg/flask_oauthlib/client.py", line 13, in <module>
import oauthlib.oauth2
File "/home/paolo/devel/nicola/golap-project/jython/Lib/site-packages/oauthlib-0.6.3-py2.7.egg/oauthlib/oauth2/__init__.py", line 11, in <module>
from .rfc6749.clients import Client
File "/home/paolo/devel/nicola/golap-project/jython/Lib/site-packages/oauthlib-0.6.3-py2.7.egg/oauthlib/oauth2/rfc6749/clients/__init__.py", line 11, in <module>
from .base import *
ImportError: No module named base
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment