我遵循了许多步骤,但无法在我的conda虚拟环境中启动和运行airflow。
下面是我所遵循的步骤。
在我的conda环境中发出下面的命令。
pip install apache-airflow==1.10.10 --constraint https://raw.githubusercontent.com/apache/airflow/1.10.10/requirements/requirements-python3.7.txt
有关于VC++的问题,present.This问题已经在安装VC++后得到解决,并将其添加到我的环境变量中。我甚至在我的环境变量中添加了AIRFLOW_HOME。
不幸的是,下面的命令不起作用。
airflow initdb我也无法启动well服务器。
airflow not服务器-p 8080我的系统不知道airflow.When我发出了'airflow initdb‘命令,我得到下面的错误。
(生物识别) C:\Users\royan\Anaconda3\envs\biometric\lib\site-packages\airflow\bin>airflow initdb 'airflow‘未被识别为内部或外部命令、可操作程序或批处理文件。
请建议我解决此错误所需执行的步骤。
发布于 2020-06-26 17:15:07
我认为在蟒蛇环境中安装Airflow最简单的方法是使用conda-forge存储库:
conda create -n airflow
conda activate airflow
conda config --env --add channels conda-forge
conda config --env --set channel_priority strict
conda install airflow
https://stackoverflow.com/questions/62589624
复制相似问题