Was unable to import superset Error: No module named 'pysqlite2'
See original GitHub issueI was failed install the superset-0.15.4 at the step “fabmanager create-admin --app superset” with error log :
(venv) [root@qa-javaserver-21 ecjava]# fabmanager create-admin --app superset
/home/ecjava/venv/lib/python3.4/importlib/_bootstrap.py:1161: ExtDeprecationWarning: Importing flask.ext.sqlalchemy is deprecated, use flask_sqlalchemy instead.
spec.loader.load_module(spec.name)
Username [admin]: admin
User first name [admin]: admin
User last name [user]: admin
Email [admin@fab.org]: 736801943@qq.com
Password:
Repeat for confirmation:
/home/ecjava/venv/lib/python3.4/importlib/_bootstrap.py:1161: ExtDeprecationWarning: Importing flask.ext.script is deprecated, use flask_script instead.
spec.loader.load_module(spec.name)
**Was unable to import superset Error: No module named 'pysqlite2'**
(venv) [root@qa-javaserver-21 ecjava]# python -V Python 3.4.6 how can I fix it?
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
ImportError: No module named 'pysqlite2' · Issue #464 - GitHub
I installed jupyterhub in Centos7, and get the error:# jupyterhub [I ... Was unable to import superset Error: No module named 'pysqlite2' ...
Read more >ImportError: No Module Named 'pysqlite2' - Stack Overflow
I installed python3 with home-brew. Now when I try to import sqlite 3, i get similar error. I have sqlite3 installed. Just can't...
Read more >ImportError: No module named 'pysqlite2' - Google Groups
from pysqlite2 import dbapi2 as sqlite. ImportError: No module named 'pysqlite2'. I've googled around a lot but can't find anything that helps. Any...
Read more >Solved: Superset of Druid can't be started in HDP 2.6.0.3
Solved: Hi guys, I have encountered a problem about Superset of Druid. ... from pysqlite2 import dbapi2 as sqlite ImportError: No module named...
Read more >python - Getting error while running jupyter-notebook
Working purely off these errors: ModuleNotFoundError: No module named '_sqlite3'. ModuleNotFoundError: No module named 'pysqlite2'. Do this:
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You are using a python built without the embedded sqlite3 module, you can install pysqlite2 as the error suggests or just use a proper built python.
Reinstall Python, remember use
sudo make && sudo make altinstall
. After that, I can go ahead.