Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flask-Cache: CACHE_TYPE is set to null #1133

Closed
ThomasEvansNZ opened this issue Sep 19, 2016 · 1 comment
Closed

Flask-Cache: CACHE_TYPE is set to null #1133

ThomasEvansNZ opened this issue Sep 19, 2016 · 1 comment

Comments

@ThomasEvansNZ
Copy link

ThomasEvansNZ commented Sep 19, 2016

Hi there,

I have been attempting to install Caravel for the last 4 hours with miserable results - my Linux is rather rusty so perhaps the issue is user orientated...

The issue I am facing is around the creation of a admin user, I keep being returned the following error:

/usr/lib/python2.6/site-packages/flask_cache/__init__.py:152: UserWarning: Flask-Cache: CACHE_TYPE is set to null, caching is effectively disabled. warnings.warn("Flask-Cache: CACHE_TYPE is set to null, " Was unable to import caravel Error: invalid syntax (views.py, line 880)

Now I know that python2.6 is not supported, however I installed 2.7:

[oracle@bigdatalite ~]$ python Python 2.7.3 (default, Sep 18 2016, 21:11:17) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] on linux2

So it seems odd to me that the packages are being installed under the /usr/bin/python2.6/site-packages directory in python?

I have attempted to pip uninstall the various flask packages and retrieve previous versions which didn't help either.

Any help would be much appreciated.

T.

@xrmx
Copy link
Contributor

xrmx commented Sep 19, 2016

Better install caravel inside a virtualenv created with python3.4+ . If you can't do that python2.7 should be fine. Don't mess install python libraries in system python.

@xrmx xrmx closed this as completed Sep 19, 2016
@xrmx xrmx added the question label Sep 19, 2016
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 17, 2021
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 24, 2021
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 25, 2021
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants