社区所有版块导航
Python
python开源   Django   Python   DjangoApp   pycharm  
DATA
docker   Elasticsearch  
aigc
aigc   chatgpt  
WEB开发
linux   MongoDB   Redis   DATABASE   NGINX   其他Web框架   web工具   zookeeper   tornado   NoSql   Bootstrap   js   peewee   Git   bottle   IE   MQ   Jquery  
机器学习
机器学习算法  
Python88.com
反馈   公告   社区推广  
产品
短视频  
印度
印度  
Py学习  »  问与答

导入 apache-airflow包总是报错

cherrymath • 4 年前 • 689 次点击  

----------------------------------------------------------报错信息如下,求解答 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
 
689 次点击