Py学习  »  问与答

导入 apache-airflow包总是报错

cherrymath • 3 年前 • 560 次点击  

----------------------------------------------------------报错信息如下,求解答 Collecting apache-airflow==1.8.1 Using cached apache-airflow-1.8.1.tar.gz (2.3 MB)

ERROR: Command errored out with exit status 1:
 command: 'D:\python\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\cherr\\AppData\\Local\\Temp\\pip-install-34rsmo_e\\apache-airflow_31fb1cce9ebf47eebf02a1ed7b330caf\\setup.py'"'"'; __file__='"'"'C:\\Users\\cherr\\AppData\\Local\\Temp\\pip-install-34rsmo_e\\apache-airflow_31fb1cce9ebf47eebf02a1ed7b330caf\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\cherr\AppData\Local\Temp\pip-pip-egg-info-0rrr7w77'
     cwd: C:\Users\cherr\AppData\Local\Temp\pip-install-34rsmo_e\apache-airflow_31fb1cce9ebf47eebf02a1ed7b330caf\
Complete output (6 lines):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\cherr\AppData\Local\Temp\pip-install-34rsmo_e\apache-airflow_31fb1cce9ebf47eebf02a1ed7b330caf\setup.py", line 112
    async = [
          ^
SyntaxError: invalid syntax
----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/99885
 
560 次点击