igordertigor commented on issue #12581:
URL: https://github.com/apache/airflow/issues/12581#issuecomment-732641724


   This seems to be a dependency issue: At the end of the `pip install 
apache-airflow` I noticed the following error:
   ```
   ERROR: After October 2020 you may experience errors when installing or 
updating packages. This is because pip will change the way that it resolves 
dependency conflicts.                                        
                                                                                
                           
   We recommend you use --use-feature=2020-resolver to test your packages with 
the new resolver before it becomes the default.                                 
                                                    
                                                                                
                           
   cattrs 1.1.1 requires attrs>=20.1.0, but you'll have attrs 19.3.0 which is 
incompatible.                
   marshmallow-sqlalchemy 0.24.1 requires marshmallow>=3.0.0, but you'll have 
marshmallow 2.21.0 which is incompatible.                                       
                                                     
   ```
   Manually forcing the installation by `pip install attrs==20.1.0 
cattrs=1.1.1` fixes the `initdb` command, but gives a similar error (again, the 
red text starts with the pip message about October 2020):
   ```
   apache-airflow 1.10.12 requires attrs~=19.3, but you'll have attrs 20.1.0 
which is incompatible.
   ```
   However, not the commands from the quickstart work.
   
   I tried to fix this, but the listed dependencies in `setup.cfg` list 
`attrs>=20.0, <21.0`, which seems correct to me.


----------------------------------------------------------------
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]


Reply via email to