dango connect to `AWS QLDB` dependency issue

0

Hello,

I'm trying perform connect to AWS QLDB using Django project However, I get an issue, once I add the following code from pyqldb.driver.qldb_driver import QldbDriver

I get the issue ImportError: cannot import name 'Enum' from 'amazon.ion.util' (/usr/local/lib/python3.9...)

Appreciate any help.

demandé il y a un an297 vues
2 réponses
0

Ok, there was an issue in lates amazon-ion, so need to point directly amazon-ion = "0.9.3"

répondu il y a un an
0

Hello !

These python requirements worked fine for me:

amazon.ion~=0.9.3
ionhash~=1.2.1
pyqldb~=3.2.2
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions