awscli 1.18.34 has requirement botocore==1.15.34, but you'll have botocore 1.15.49 which is incompatible

I am getting this error after upgrading to python version 3.7 from 2.7.

How to solve this error?

ERROR: tox 3.14.6 has requirement importlib-metadata<2,>=0.12; python_version < "3.8", but you'll have importlib-metadata 4.6.1 which is incompatible.
ERROR: awscli 1.18.34 has requirement botocore==1.15.34, but you'll have botocore 1.15.49 which is incompatible.

Upvotes: 0

Views: 1010

Answers (1)

J&#252;rgen Gmach
J&#252;rgen Gmach

Reputation: 6123

First, it would be interesting how you installed the packages?

Did you install this e.g. from an old requirements.txt?

Looks like you have very old packages installed.

First, please install the latest version of tox, which is version 3.23.1.

There is no longer a restriction of importlib-metadata<2.

Also, the latest version of awscli is 1.19.106.

If there is no special reason why you want to use the old version, please install the current one.

Actually, I'd suggest to create a new virtual env, and install everything from scratch - without the version pinned to outdated versions.

If your repository is public, I could have a look and give more advice.

Upvotes: 1

Related Questions