zoukankan      html  css  js  c++  java
  • 关于安装airflow遇到的问题

    问题1:

    Python pylint requires Python '>=3.4.*' but the running Python is 2.7.12

    解决办法:

    (1)在linux服务器上执行Python,然后你会看到你的Python 版本为2.7.12.

    (2)之后输入:cd /usr/bin/
    /usr/bin# ls -l | grep python
    查看Python信息

    (3)再输入这两个命令:
    sudo rm -rf python
    sudo ln -s /usr/bin/python3 /usr/bin/python

    (4) 执行Python然后你会看到你的Python 版本已经变成了3.7.9

     (5) 然后你在安装相关包的时候使用pip3 install 去安装。

    参考文档: https://blog.csdn.net/weixin_44877226/article/details/108400628

    问题2 

         Setup script exited with error: command 'gcc' failed with exit status 1

    解决办法:

    由于没有正确安装Python开发环境导致。

      Debin/Ubuntu

    • Python2
      sudo apt-get install python-dev
    • Python3
      sudo apt-get install python3-dev
      可能需要libevent库
      sudo apt-get install libevent-dev
      最后更新下开发环境
      sudo apt-get groupinstall 'development tools'

       Centos/Fedora

     sudo yum install python-devel
     sudo yum install libevent-devel
     easy_install gevent
        或者
      pip install gevent
    把环境更新下
     sudo yum install groupinstall 'development tools'

    参考文档:https://www.cnblogs.com/gerrydeng/p/7159021.html

    问题3 :

         [ERROR] Connection in use 127.0.0.1 8080

    参考文档:https://www.cnblogs.com/hedianzhan/p/10131058.html

    问题4 :

       centos7 File "/usr/libexec/urlgrabber-ext-down", line 28 

        

    解决方案如下:

    https://blog.csdn.net/smile_foreach/article/details/103186149

    至此问题得到解决。

    关于airflow的相关文档可以自行百度

  • 相关阅读:
    fiddler过滤css、js、jpg等文件。
    利用jmeter批量创建测试数据(一)---csv data set config
    【Qt】实现程序重启的两种方法
    【MySQL 基础】MySQL必知必会
    【设计模式】访问者模式
    【设计模式】状态模式
    【设计模式】观察者模式
    【设计模式】备忘录模式
    【设计模式】中介者模式
    【设计模式】迭代器模式
  • 原文地址:https://www.cnblogs.com/gxgd/p/14230725.html
Copyright © 2011-2022 走看看