Comments (6)
I just get errors in reference to the constraints file tellng me they're already installed...when mssql, pymssql, and s3 clearly are not.
Could you attach the logs for this as well please? I don't believe they're installed by default.
Regarding the conflict error, apache-airflow-providers-microsoft-mssql
is constrained to version 3.4.2
in the constraints. Do you still have issues if you specify apache-airflow-providers-microsoft-mssql==3.4.2
in the requirements?
from aws-mwaa-local-runner.
Hi Mayushko26,
Thanks for replying; I have tried specifying the exact version, as well as just leaving the version off altogether. The only reason I had that version listed was because it was the version used in the guide, I knew it was old and just wanted to see if it would work.
Let me fire it up and I'll get the output while specifying 3.4.2. Stand by.
from aws-mwaa-local-runner.
Here is the output when I specify all the same versions listed in the constraints file.
aws-mwaa-local-runner-2_7-local-runner-1 | Installing requirements.txt
aws-mwaa-local-runner-2_7-local-runner-1 | Collecting apache-airflow-providers-snowflake==5.0.1
aws-mwaa-local-runner-2_7-local-runner-1 | Downloading apache_airflow_providers_snowflake-5.0.1-py3-none-any.whl (37 kB)
aws-mwaa-local-runner-2_7-local-runner-1 | Collecting apache-airflow-providers-mysql==5.3.1
aws-mwaa-local-runner-2_7-local-runner-1 | Downloading apache_airflow_providers_mysql-5.3.1-py3-none-any.whl (25 kB)
aws-mwaa-local-runner-2_7-local-runner-1 | Collecting apache-airflow-providers-microsoft-mssql==3.4.2
aws-mwaa-local-runner-2_7-local-runner-1 | Downloading apache_airflow_providers_microsoft_mssql-3.4.2-py3-none-any.whl (14 kB)
aws-mwaa-local-runner-2_7-local-runner-1 | Collecting apache-airflow-providers-odbc==4.0.0
aws-mwaa-local-runner-2_7-local-runner-1 | Downloading apache_airflow_providers_odbc-4.0.0-py3-none-any.whl (15 kB)
aws-mwaa-local-runner-2_7-local-runner-1 | ERROR: Cannot install pymssql==2.2.1 because these package versions have conflicting dependencies.
aws-mwaa-local-runner-2_7-local-runner-1 |
aws-mwaa-local-runner-2_7-local-runner-1 | The conflict is caused by:
aws-mwaa-local-runner-2_7-local-runner-1 | The user requested pymssql==2.2.1
aws-mwaa-local-runner-2_7-local-runner-1 | The user requested (constraint) pymssql==2.2.8
aws-mwaa-local-runner-2_7-local-runner-1 |
aws-mwaa-local-runner-2_7-local-runner-1 | To fix this you could try to:
aws-mwaa-local-runner-2_7-local-runner-1 | 1. loosen the range of package versions you've specified
aws-mwaa-local-runner-2_7-local-runner-1 | 2. remove package versions to allow pip attempt to solve the dependency conflict
aws-mwaa-local-runner-2_7-local-runner-1 |
aws-mwaa-local-runner-2_7-local-runner-1 |
aws-mwaa-local-runner-2_7-local-runner-1 | ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
aws-mwaa-local-runner-2_7-local-runner-1 |
aws-mwaa-local-runner-2_7-local-runner-1 | [notice] A new release of pip available: 22.3.1 -> 23.3.2
aws-mwaa-local-runner-2_7-local-runner-1 | [notice] To update, run: pip install --upgrade pip
from aws-mwaa-local-runner.
Thanks for following up. This doesn't look like an issue on the local runner but rather an issue of finding of the correct set of requirements and constraints for your needs. It would help if you also added the requirements.txt file you're using, and I could help unblock you.
from aws-mwaa-local-runner.
Sure, it's the bone stock requirements file that came with the docker image, I've added the few things you see, but that's it.
Here's the contents:
--constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.7.2/constraints-3.11.txt"
apache-airflow-providers-snowflake==5.0.1
apache-airflow-providers-mysql==5.3.1
apache-airflow-providers-microsoft-mssql==3.4.2
apache-airflow-providers-odbc==4.0.0
pymssql==2.2.8
from aws-mwaa-local-runner.
@josborne-book4time try looking through the issues regarding platform
mismatches.
from aws-mwaa-local-runner.
Related Issues (20)
- Error `the input device is not a TTY` when running on a AWS CodeBuild container HOT 2
- Is it possible to change the version? HOT 3
- Trigger with Config HOT 1
- Package compatibility issue with Airflow 2.7.2 constraints HOT 4
- I just can't seem to install cryptography.fernet. How can I fix this? HOT 2
- Invalid commands and unrecognized options on start HOT 1
- version mismatch: pymssql in MWAA v2.6.3 vs Airflow constraints.txt on GitHub HOT 4
- sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table HOT 2
- Specify platform when building MWAA image HOT 2
- Seems like MWAA runner 2.7.2 misses libgeos-dev HOT 3
- Unable to install MWAA local runner 2.7.2 in MacOs HOT 2
- Postgres 11 is EOL
- MWAA 2.7.2 - Loosen apache-airflow-providers-google in constraints.txt HOT 1
- lxml import etree ImportError: libxslt.so.1: cannot open shared object file: No such file or directory HOT 4
- ModuleNotFoundError: No module named 'cryptography' HOT 2
- Questions regarding environment variables and AWS credentials HOT 2
- ImportError: cannot import name 'AwsGlueJobOperator' from 'airflow.providers.amazon.aws.operators.glue' HOT 1
- Tasks taking too long time after 2.7.2 Airflow update
- possible to update dags when s3 dags update on s3 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-mwaa-local-runner.