Skip to content
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

peerdid.core not included in published package? #43

Closed
dbluhm opened this issue Aug 23, 2022 · 5 comments · Fixed by #44
Closed

peerdid.core not included in published package? #43

dbluhm opened this issue Aug 23, 2022 · 5 comments · Fixed by #44
Assignees
Labels
related to: code Something related to the code base

Comments

@dbluhm
Copy link
Contributor

dbluhm commented Aug 23, 2022

I tried using peerdid but am running into the following error on import:

.venv/lib/python3.10/site-packages/peerdid/__init__.py:3: in <module>
    from . import core, dids, errors, keys
.venv/lib/python3.10/site-packages/peerdid/dids.py:9: in <module>
    from .core.peer_did_helper import (
E   ModuleNotFoundError: No module named 'peerdid.core'

When checking my site-packages directory, I found that only the following files were downloaded from PyPI:

dids.py  errors.py  __init__.py  keys.py 

Is there perhaps an issue with the setup of the package? Or is my local environment somehow getting corrupted? I wiped my virtual environment and reinstalled dependencies but that resulted in the same error.

cc @chumbert

@chumbert
Copy link
Contributor

Sorry to hear that. I'll investigate and release a fix ASAP.

@chumbert chumbert self-assigned this Aug 23, 2022
@chumbert chumbert added the related to: code Something related to the code base label Aug 23, 2022
@Tanzi005
Copy link

Is it solved? I am having the same problem :(

@dbluhm
Copy link
Contributor Author

dbluhm commented Aug 16, 2023

@Tanzi005 Yes, this fix was included as of version 0.5.2

@Tanzi005
Copy link

I am trying to run the repo 'didcomm-demo-python' but was unable to run the following imports :

from peerdid import peer_did
from peerdid.core.did_doc_types import DIDCommServicePeerDID
from peerdid.did_doc import DIDDocPeerDID
from peerdid.types import VerificationMaterialFormatPeerDID, VerificationMaterialAgreement,
VerificationMethodTypeAgreement, VerificationMaterialAuthentication, VerificationMethodTypeAuthentication

Could you please take a look? Thanks a lot!

@dbluhm
Copy link
Contributor Author

dbluhm commented Aug 16, 2023

Please open an issue on the didcomm-demo repo. I don't think the demo has been kept up to date. I am unfortunately unable to provide assistance on updating the demo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
related to: code Something related to the code base
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants