andrew_hansen
07/16/2021, 1:54 PM(.venv) [srvc_singer@ip-10-0-0-211 lab49-singer-runtime]$ python --version
Python 3.8.2
(.venv) [srvc_singer@ip-10-0-0-211 lab49-singer-runtime]$ cat /etc/os-release
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="<https://amazonlinux.com/>"
I use the version pip install meltano==1.77.0
locally on my mac just fine
I can’t use any version on the fresh AWS ec2 instance in its own clean .venv
even when I execute (.venv) [srvc_singer@ip-10-0-0-211 lab49-singer-runtime]$ pip install meltano
The end of the output looks like:
The conflict is caused by:
meltano 1.78.0 depends on watchdog<0.10.0 and >=0.9.0
meltano 1.77.0 depends on watchdog<0.10.0 and >=0.9.0
meltano 1.76.0 depends on watchdog<0.10.0 and >=0.9.0
meltano 1.75.0 depends on watchdog<0.10.0 and >=0.9.0
meltano 1.74.0 depends on watchdog<0.10.0 and >=0.9.0
meltano 1.73.0 depends on watchdog<0.10.0 and >=0.9.0
meltano 1.72.0 depends on watchdog<0.10.0 and >=0.9.0
meltano 1.71.0 depends on watchdog<0.10.0 and >=0.9.0
meltano 1.70.0 depends on watchdog<0.10.0 and >=0.9.0
meltano 1.69.0 depends on watchdog<0.10.0 and >=0.9.0
meltano 1.68.0 depends on watchdog<0.10.0 and >=0.9.0
andrew_hansen
07/16/2021, 2:31 PMyum install libffi-devel
, yum install sqlite-devel
and rebuilt python 3.8 then watchdog would install and meltano would install and execute.
Once I move from sqlite to rds I wouldn’t need sqlite-devel
.dean_morin
07/16/2021, 5:07 PMpip install --upgrade pip
pip install meltano
andrew_hansen
07/18/2021, 2:57 PMpython3.8 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install meltano==1.77.0
However meltano wouldn’t install on a clean python 3.8.2 install without adding those extra libraries at the OS level before compiling python. What distro’s of linux are you using? Something with more stuff already in it by default? For instance the meltano build assumes SQLite is already part of the OS. you must be using a distro with SQLite on it. Watchdog depends on OS components that are not mandatory for python or linux. Upgrading pip doesn’t add OS components that watchdog needs. Especially ones that need to be present before python is compiled.andrew_hansen
07/18/2021, 2:59 PMandrew_hansen
07/18/2021, 3:04 PM