kaxil commented on issue #11965:
URL: https://github.com/apache/airflow/issues/11965#issuecomment-726130970
@gaj995
Since you are using Python 3.8 use the following:
```
pip install apache-airflow==1.10.12 \
--constraint
"https://raw.githubusercontent.com/apache/airflow/constraints-1.10.12/constraints-3.8.txt"
```
> > > Didn't work for me :(
> >
> >
> > What do you mean by 'didn't work"? Can you please provide some specifics
on what you tried and how it did not work @gaj995 ?
>
> Here is the error I am getting. I used the pip method that @kaxil posted
above.
>
> On Ubantu 20.04.1
> Python 3.8.5
>
> ```
> `Traceback (most recent call last):
> File "/home/gaj995/.local/bin/airflow", line 25, in <module>
> from airflow.configuration import conf
> File
"/home/gaj995/.local/lib/python3.8/site-packages/airflow/__init__.py", line 50,
in <module>
> from airflow.models import DAG # noqa: E402
> File
"/home/gaj995/.local/lib/python3.8/site-packages/airflow/models/__init__.py",
line 21, in <module>
> from airflow.models.baseoperator import BaseOperator, BaseOperatorLink
# noqa: F401
> File
"/home/gaj995/.local/lib/python3.8/site-packages/airflow/models/baseoperator.py",
line 1116, in <module>
> @attr.s(auto_attribs=True)
> AttributeError: module 'attr' has no attribute 's'`
> ```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]