[
https://issues.apache.org/jira/browse/AIRFLOW-5033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16892563#comment-16892563
]
jack commented on AIRFLOW-5033:
-------------------------------
[~higrys] This looks like a result of trying to compile Python3 and Python2.
PyString_FromString is used in Python2.
PyUnicode_FromString if for Python3.
> Cannot install apache-airflow[kerberos] on Python 3
> ---------------------------------------------------
>
> Key: AIRFLOW-5033
> URL: https://issues.apache.org/jira/browse/AIRFLOW-5033
> Project: Apache Airflow
> Issue Type: Bug
> Components: build
> Affects Versions: 1.10.3
> Reporter: Mathew Wicks
> Priority: Major
>
> Currently you cannot install apache-airflow[kerberos] with Python 3.
> *Steps to reproduce: (For Ubuntu)*
> # Ensure you have the required build dependencies, _*sudo apt install
> libsasl2-dev libkrb5-dev*_
> # Create a new conda environment. _*conda create -n airflow_36 python=3.6*_
> # Activate the environment: _*conda activate airflow_36*_
> # Attempt to install _*pip install apache-airflow[kerberos]*_
> # **fails**
> The error is caused by trying to install python-krbV as a depednancy of
> snakebite[kerberos], as python-krbV does not support Python 3.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)