Skip to content

import EncryptedDirectMessage fails using python3.10, nostr 0.0.2 #100

@realJogicodes

Description

@realJogicodes

Hi

I cannot import EncryptedDirectMessage. Here's the environment:
$ pip freeze
cffi==1.15.1
cryptography==40.0.2
nostr==0.0.2
pycparser==2.21
secp256k1==0.14.0
websocket-client==1.5.1

The python code:

from nostr.event import EncryptedDirectMessage

The error:

ImportError: cannot import name 'EncryptedDirectMessage' from 'nostr.event' (/home/jogi/nostr-message/env/lib/python3.10/site-packages/nostr/event.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions