I am new to airflow and trying to initiate a MySQL db to airflow. I have created a virtual environment and installed the respective packages. I am getting the following error :
airflow initdb
Traceback (most recent call last): File "/Users//Documents/Test/venv/bin/airflow", line 23, in import argcomplete ModuleNotFoundError: No module named 'argcomplete'
I have installed the necessary packages, specifically pip3 install argcomplete which shows the output as :
Requirement already satisfied: argcomplete in ./venv/lib/python3.7/site-packages (1.11.1) Requirement already satisfied: importlib-metadata<2,>=0.23; python_version == "3.7" in /usr/local/lib/python3.7/site-packages (from argcomplete) (1.6.0) Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata<2,>=0.23; python_version == "3.7"->argcomplete) (3.1.0)