airflow环境安装

本文档详细介绍了如何使用miniconda进行环境搭建,并提供了安装Airflow及一系列Python相关模块的具体步骤,包括数据库连接库、地理信息处理工具等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1、安装miniconda(https://docs.conda.io/en/latest/miniconda.html

  1. wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
  2. bash Miniconda3-latest-Linux-x86_64.sh
  3. source ~/.bashrc
  4. 根据配置文件恢复环境

             conda env create --file /wzdata1/env.yml

2、安装airflow

      pip install apache-airflow==1.9.0

      conda install psycopg2

 

      /root/miniconda3/envs/dev35/lib/python3.5/site-packages

      https://www.cnblogs.com/wxshi/p/6805120.html

      sitecustomize.py

      编码

     https://www.aiuai.cn/aifarm802.html

     export LANG="zh_CN.UTF-8"

     export LANG="en_US.UTF-8"

4、安装其他模块

     --Pip install peewee

     Conda install shapely

      pip install geojson

      Conda install pyproj

        pip install openpyxl xlsxwriter

        安装mysql,python3 不再支持mysql-python

       pip install mysqlclient

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值