Getting an error while running setup
Closed this issue · 3 comments
I am getting the following error while running the makefile trough make setup command
(especially with botocore):
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
awscli 1.22.11 requires botocore==1.23.11, but you have botocore 1.23.24 which is incompatible.
Here's the error snapshot. Please suggest:
flyway-5.2.4/drivers/jna-platform-4.5.2.jar
flyway-5.2.4/drivers/mariadb-java-client-2.3.0.jar
flyway-5.2.4/drivers/postgresql-42.2.5.jre6.jar
flyway-5.2.4/drivers/sqlite-jdbc-3.23.1.jar
sudo python3 -m pip install -r requirements.txt
WARNING: Value for scheme.purelib does not match. Please report this to pypa/pip#10151
distutils: /usr/local/lib/python3.6/site-packages
sysconfig: /usr/lib/python3.6/site-packages
WARNING: Value for scheme.headers does not match. Please report this to pypa/pip#10151
distutils: /usr/local/include/python3.6/UNKNOWN
sysconfig: /usr/include/python3.6m/UNKNOWN
WARNING: Value for scheme.scripts does not match. Please report this to pypa/pip#10151
distutils: /usr/local/bin
sysconfig: /usr/bin
WARNING: Value for scheme.data does not match. Please report this to pypa/pip#10151
distutils: /usr/local
sysconfig: /usr
WARNING: Additional context:
user = False
home = None
root = None
prefix = None
Collecting e3db~=2.1
Using cached e3db-2.3.0-py3-none-any.whl (87 kB)
Collecting psycopg2-binary~=2.7
Downloading psycopg2_binary-2.9.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB)
|████████████████████████████████| 3.0 MB 7.6 MB/s
Collecting boto3~=1.9
Using cached boto3-1.20.24-py3-none-any.whl (131 kB)
Collecting requests<3,>=2.4.2
Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting PyNaCl<2,>=1.3.0
Using cached PyNaCl-1.4.0-cp35-abi3-manylinux1_x86_64.whl (961 kB)
Collecting Cryptography>=2.2
Downloading cryptography-36.0.1-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.8 MB)
|████████████████████████████████| 3.8 MB 26.1 MB/s
Requirement already satisfied: s3transfer<0.6.0,>=0.5.0 in /usr/local/lib/python3.6/site-packages (from boto3~=1.9->-r requirements.txt (line 3)) (0.5.0)
Requirement already satisfied: jmespath<1.0.0,>=0.7.1 in /usr/local/lib/python3.6/site-packages (from boto3~=1.9->-r requirements.txt (line 3)) (0.10.0)
Collecting botocore<1.24.0,>=1.23.24
Downloading botocore-1.23.24-py3-none-any.whl (8.4 MB)
|████████████████████████████████| 8.4 MB 20.9 MB/s
Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in /usr/local/lib/python3.6/site-packages (from botocore<1.24.0,>=1.23.24->boto3~=1.9->-r requirements.txt (line 3)) (2.8.2)
Requirement already satisfied: urllib3<1.27,>=1.25.4 in /usr/local/lib/python3.6/site-packages (from botocore<1.24.0,>=1.23.24->boto3~=1.9->-r requirements.txt (line 3)) (1.26.7)
Collecting cffi>=1.12
Downloading cffi-1.15.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (405 kB)
|████████████████████████████████| 405 kB 48.9 MB/s
Requirement already satisfied: six in /usr/local/lib/python3.6/site-packages (from PyNaCl<2,>=1.3.0->e3db~=2.1->-r requirements.txt (line 1)) (1.16.0)
Collecting certifi>=2017.4.17
Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
|████████████████████████████████| 149 kB 60.6 MB/s
Collecting charset-normalizer~=2.0.0
Downloading charset_normalizer-2.0.9-py3-none-any.whl (39 kB)
Collecting idna<4,>=2.5
Downloading idna-3.3-py3-none-any.whl (61 kB)
|████████████████████████████████| 61 kB 10.4 MB/s
Collecting pycparser
Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
|████████████████████████████████| 118 kB 33.9 MB/s
Installing collected packages: pycparser, idna, charset-normalizer, cffi, certifi, botocore, requests, PyNaCl, Cryptography, psycopg2-binary, e3db, boto3
WARNING: Value for scheme.headers does not match. Please report this to pypa/pip#10151
distutils: /usr/local/include/python3.6/pycparser
sysconfig: /usr/include/python3.6m/pycparser
WARNING: Value for scheme.headers does not match. Please report this to pypa/pip#10151
distutils: /usr/local/include/python3.6/idna
sysconfig: /usr/include/python3.6m/idna
WARNING: Value for scheme.headers does not match. Please report this to pypa/pip#10151
distutils: /usr/local/include/python3.6/charset-normalizer
sysconfig: /usr/include/python3.6m/charset-normalizer
WARNING: The script normalizer is installed in '/usr/local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: Value for scheme.headers does not match. Please report this to pypa/pip#10151
distutils: /usr/local/include/python3.6/cffi
sysconfig: /usr/include/python3.6m/cffi
WARNING: Value for scheme.headers does not match. Please report this to pypa/pip#10151
distutils: /usr/local/include/python3.6/certifi
sysconfig: /usr/include/python3.6m/certifi
Attempting uninstall: botocore
Found existing installation: botocore 1.23.11
Uninstalling botocore-1.23.11:
Successfully uninstalled botocore-1.23.11
WARNING: Value for scheme.headers does not match. Please report this to pypa/pip#10151
distutils: /usr/local/include/python3.6/botocore
sysconfig: /usr/include/python3.6m/botocore
WARNING: Value for scheme.headers does not match. Please report this to pypa/pip#10151
distutils: /usr/local/include/python3.6/requests
sysconfig: /usr/include/python3.6m/requests
WARNING: Value for scheme.headers does not match. Please report this to pypa/pip#10151
distutils: /usr/local/include/python3.6/PyNaCl
sysconfig: /usr/include/python3.6m/PyNaCl
WARNING: Value for scheme.headers does not match. Please report this to pypa/pip#10151
distutils: /usr/local/include/python3.6/Cryptography
sysconfig: /usr/include/python3.6m/Cryptography
WARNING: Value for scheme.headers does not match. Please report this to pypa/pip#10151
distutils: /usr/local/include/python3.6/psycopg2-binary
sysconfig: /usr/include/python3.6m/psycopg2-binary
WARNING: Value for scheme.headers does not match. Please report this to pypa/pip#10151
distutils: /usr/local/include/python3.6/e3db
sysconfig: /usr/include/python3.6m/e3db
WARNING: Value for scheme.headers does not match. Please report this to pypa/pip#10151
distutils: /usr/local/include/python3.6/boto3
sysconfig: /usr/include/python3.6m/boto3
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
awscli 1.22.11 requires botocore==1.23.11, but you have botocore 1.23.24 which is incompatible.
Successfully installed Cryptography-36.0.1 PyNaCl-1.4.0 boto3-1.20.24 botocore-1.23.24 certifi-2021.10.8 cffi-1.15.0 charset-normalizer-2.0.9 e3db-2.3.0 idna-3.3 psycopg2-binary-2.9.2 pycparser-2.21 requests-2.26.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
flyway -configFiles=flyway.conf migrate
Flyway Community Edition 5.2.4 by Boxfuse
Database: jdbc:postgresql://tt15lf28huz29k2.clifarmeaeny.us-west-2.rds.amazonaws.com:5432/ta2db (PostgreSQL 10.17)
Successfully validated 1 migration (execution time 00:00.032s)
Creating Schema History table: "public"."flyway_schema_history"
Current version of schema "public": << Empty Schema >>
Migrating schema "public" to version 1 - record storage
Successfully applied 1 migration to schema "public" (execution time 00:00.157s)
Hi @sbanerj2 , if you add botocore==1.23.11
to the requirements.txt file does that resolve your error?