MongoEngine/mongoengine

[pipenv.exceptions.InstallError]: ERROR: Could not find a version that satisfies the requirement mongoengine==0.19.1

tobslob opened this issue · 1 comments

I am a newbie in python, this error is currently making my build to fail.

error in mongoengine setup command: use_2to3 is invalid.

[pipenv.exceptions.InstallError]: ERROR: Could not find a version that satisfies the requirement mongoengine==0.19.1 (from versions: 0.4, 0.5, 0.5.1, 0.5.2, 0.6.1, 0.6.3, 0.6.4, 0.6.6, 0.6.7, 0.6.8, 0.6.10, 0.6.12, 0.6.13, 0.6.15, 0.6.16, 0.6.17, 0.6.19, 0.6.20, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.8, 0.7.9, 0.7.10, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.8.7, 0.8.7.post2, 0.8.7.1, 0.8.8, 0.9.0, 0.10.0, 0.10.1, 0.10.4, 0.10.5, 0.10.6, 0.10.7, 0.10.9, 0.11.0, 0.12.0, 0.13.0, 0.14.3, 0.15.0, 0.15.3, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.17.0, 0.18.0, 0.18.2, 0.19.0, 0.19.1, 0.20.0, 0.21.0, 0.22.0, 0.22.1, 0.23.0, 0.23.1)
[pipenv.exceptions.InstallError]: ERROR: No matching distribution found for mongoengine==0.19.1

mongoengine version = 0.19.1
python version = 3.7

Please advice. Thank you in advance!

@bagerard @rozza @wojcikstefan @hmarr

It is probably due to this https://stackoverflow.com/a/69100830/6203472

So either you make sure to install setuptools < 58 or you upgrade to mongoengine > 0.20 (recommended)