Skip to content

Import ari fails with python3.9 #39

@oza4h07

Description

@oza4h07

Hello,

I discovered ari-py after reading [1].

On a debian 11.11 host with uv 0.6.13 installed, I typed:

$ uv init foobar2
$ cd foobar2
$ uv add ari
$ uv run main.py
Hello from foobar2!

Then I added "import ari" at the top of main.py (within foobar2 directory) an ran main.py again. I got:
$ uv run main.py

I got:

Traceback (most recent call last): File "/opt/foobar2/main.py", line 1, in <module> import ari File "/opt/foobar2/.venv/lib/python3.9/site-packages/ari/__init__.py", line 8, in <module> import client ModuleNotFoundError: No module named 'client'
Is there anything I can do to work around this ?

[1] https://docs.asterisk.org/Configuration/Interfaces/Asterisk-REST-Interface-ARI/ARI-Libraries/

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions