-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No module named kdbx_parsing.kdbx #144
Comments
Hi @Bastilla123 You are importing erroneously from the module pykeepass instead from the package pykeepass, see my screenshot. Then, the relative references do not work any longer. The line It just means from module kdbx from within the kdbx_parsing package inside the pykeepass package import the symbol KDBX - which - when you have a look at it - is an instance of the Struct class. Which - we both know now - does not work when you try to import from the module pykeepass instead from the package. P.S.: I wrote a little command line utility, which checks all passwords within a KeePass database against the HaveIBeenPwned.com API (is my password hacked?) -you could have a look at it to get some ideas how to interact with PyKeePass. package source code |
Thank you very much. I'm beginner in python. |
Can this be closed? |
Yes. Thanks
Evan Widloski <notifications@github.com> schrieb am Di., 19. März 2019,
04:07:
… Can this be closed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/pschmitt/pykeepass/issues/144#issuecomment-474180971>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AuF5Alt2vPM3WAmEKAxnS8hBogCdgOsWks5vYFSCgaJpZM4bj1rk>
.
|
I write a littel skript:
from pykeepass import PyKeePass
load database
kp = PyKeePass('neue.kdbx', password='Password1234')
Result:
Traceback (most recent call last):
File "test.py", line 1, in
from pykeepass import PyKeePass
File "/home/sebastian/Downloads/pykeepass-master/pykeepass/pykeepass.py", line 16, in
from pykeepass.kdbx_parsing.kdbx import KDBX
ImportError: No module named kdbx_parsing.kdbx
i don't understand in pykeepass.py the row:
from pykeepass.kdbx_parsing.kdbx import KDBX
The text was updated successfully, but these errors were encountered: