airflow standalone triggers ModuleNotFoundError: No module named '_sqlite3' #30470
-
So I already read about 20 topics on this subjetct, but I've haven't found a solution yet. OS: Ubuntu 22.04 I'm using the python installation that came with Ubuntu.
I just installed airflow through pip and when I run airflow standalone, the error I thought I didn't had sqlite3 package installed so I ran:
The output was:
Ok, I found that I should do pip3 install pysqlite3 instead.
Already tried a bunch of solutions that I read.
I event uninstalled and installed all these things, but nothing seems to work. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
So I had to rebuild Python and install. I followed the following: Check if the '_sqlite3' module is available in your Python installation:
The ModuleNotFoundError pops up. I guessed that, my python installation was broken someway, then I ran the following commands:
Now it's working as expected ;) |
Beta Was this translation helpful? Give feedback.
-
Works for python 3.12.6, Thanks! |
Beta Was this translation helpful? Give feedback.
So I had to rebuild Python and install.
I followed the following:
Check if the '_sqlite3' module is available in your Python installation:
The ModuleNotFoundError pops up.
I guessed that, my python installation was broken someway, then I ran the following commands: