martin_leung
05/18/2023, 3:17 PMedgar_ramirez_mondragon
05/18/2023, 3:24 PMmartin_leung
05/18/2023, 3:28 PMedgar_ramirez_mondragon
05/18/2023, 5:57 PM.meltano
if it’s present in your computer? In case it’s being mounted with the volumemartin_leung
05/18/2023, 8:15 PMmartin_leung
05/19/2023, 3:01 PMuser
05/19/2023, 3:28 PMroot@3be04c3cbac4:/projects# python --version
Python 3.8.16
root@3be04c3cbac4:/projects# meltano --version
meltano, version 2.19.0
root@3be04c3cbac4:/projects# meltano install
Installing 1 plugins...
Installing loader 'target-redshift'...
Installed loader 'target-redshift'
root@3be04c3cbac4:/projects# cat meltano.yml
version: 1
default_environment: dev
project_id: 91c3fa85-4527-4693-8cb8-7392c1ce6614
environments:
- name: dev
- name: staging
- name: prod
plugins:
loaders:
- name: target-redshift
variant: transferwise
pip_url: pipelinewise-target-redshift
martin_leung
05/23/2023, 4:51 PMdouwe_maan
05/23/2023, 6:36 PMlibpq-dev
installed in your Docker image?martin_leung
05/23/2023, 6:40 PMdouwe_maan
05/23/2023, 6:47 PMmartin_leung
05/23/2023, 6:49 PMuser
05/23/2023, 6:50 PMmartin_leung
05/23/2023, 6:51 PMdouwe_maan
05/23/2023, 6:54 PMedgar_ramirez_mondragon
05/23/2023, 7:02 PMuser
05/23/2023, 7:04 PMmartin_leung
05/23/2023, 8:23 PMedgar_ramirez_mondragon
05/24/2023, 9:22 PMversion: 1
default_environment: dev
project_id: 91c3fa85-4527-4693-8cb8-7392c1ce6614
send_anonymous_usage_stats: false
environments:
- name: dev
- name: staging
- name: prod
plugins:
loaders:
- name: target-redshift
variant: transferwise
pip_url: pipelinewise-target-redshift
2. docker run -v "$(pwd)/meltano.yml":/projects/meltano.yml --name target-redshift -w /projects meltano/meltano:v2.19.0-python3.8
3. docker exec -e PIP_ONLY_BINARY=':all:' target-redshift meltano install
Will Da Silva (Arch)
05/24/2023, 9:38 PMwill ~ $ docker exec -e PIP_ONLY_BINARY=':all:' target-redshift meltano install
Installing 1 plugins...
Installing loader 'target-redshift'...
ERROR: Cannot install pipelinewise-target-redshift==1.3.0, pipelinewise-target-redshift==1.4.0, pipelinewise-target-redshift==1.4.1, pipelinewise-target-redshift==1.5.0 and pipelinewise-target-redshift==1.6.0 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit <https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts>
Loader 'target-redshift' could not be installed: failed to install plugin 'target-redshift'.
Need help fixing this problem? Visit <http://melta.no/> for troubleshooting steps, or to
join our friendly Slack community.
Failed to install plugin(s)
Will Da Silva (Arch)
05/24/2023, 9:41 PMI wouldn’t expect that to affect what happens inside the Linux Docker container, but I agree it’s the most obvious difference@douwe_maan As of Meltano 2.19.0 we now additionally publish Docker images for arm64, which M1 Macs will default to using over the amd64 version. Since we're using binary wheels for this, I expect the problem lies in one or more of the packages not providing arm64 wheels
Will Da Silva (Arch)
05/24/2023, 9:44 PM--platform linux/amd64
to the docker run
command seems to have fixed the issue for me, although the execution speed is noticeably slower since it isn't using native instructions now.user
05/24/2023, 9:44 PMmartin_leung
05/25/2023, 4:59 PM