0
respostas

Erro ao instalar o Airflow no macOS Monterey 12.2.1

Boa tarde, ao executar o comando: pip install apache-airflow==1.10.14 --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-1.10.14/constraints-3.7.txt", aparece os seguintes erros: ERRO 1: ERROR: Command errored out with exit status 1: command: /Users/fabiookuro/datapipeline/.env/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/4m/l9y_83tn28s0glscqfj81kg80000gn/T/pip-install-uxnv2c45/flask-openid_4dcb46fd7f2446b381815d43c49e8d14/setup.py'"'"'; file='"'"'/private/var/folders/4m/l9y_83tn28s0glscqfj81kg80000gn/T/pip-install-uxnv2c45/flask-openid_4dcb46fd7f2446b381815d43c49e8d14/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/4m/l9y_83tn28s0glscqfj81kg80000gn/T/pip-pip-egg-info-u3liclkm cwd: /private/var/folders/4m/l9y_83tn28s0glscqfj81kg80000gn/T/pip-install-uxnv2c45/flask-openid_4dcb46fd7f2446b381815d43c49e8d14/ Complete output (1 lines):

error in Flask-OpenID setup command: use_2to3 is invalid.
----------------------------------------

ERRO 2: ERROR: Cannot install apache-airflow because these package versions have conflicting dependencies.

The conflict is caused by: flask-appbuilder 2.3.4 depends on Flask-OpenID<2 and >=1.2.5 The user requested (constraint) flask-openid==1.2.5

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

Alguém saberia resolver?

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software