If you don’t already have SQLite installed on your machine, please follow this guide to install it as we will need a database to start Airflow-SQLite is the default database, but we can use others too. Once the installation is complete, let’s check if we can run Airflow commands on our machine. This will install several Python packages that are required by Apache Airflow, including the latest version available. Note the (airflow) before your cursor, it indicates the name of the current virtualenv that you have activated. Let’s activate this environment and install Airflow on it. This should have created a directory named airflow in your working directory. In order to use Python3, we use the -p argument if your system’s default Python version is 3, then you don’t need to specify it. The above command will create a virtual environment named airflow, which we have specified explicitly. The first thing we will do is create a virtual environment with Python 3 in which we will install and run Airflow. Please do not use Python 2 anymore as it has reached its end of life. The only thing you need to be installed on your machine for this is Python 3 and the Python package virtualenv.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |