Agora-Python-SDK icon indicating copy to clipboard operation
Agora-Python-SDK copied to clipboard

Unable to install in docker via poetry

Open DBlek opened this issue 4 years ago • 2 comments

I am trying to set up a Django Rest Framework procject that will use the agora-python-sdk. As my dependency manager I want to use poetry via docker. there is a problem when trying to install the sdk via docker:

RuntimeError
Unable to find installation candidates for agora-python-sdk (3.4.2.1)
at /opt/poetry/lib/poetry/installation/chooser.py:72 in choose_for
             links.append(link)

         if not links:
             raise RuntimeError(
                 "Unable to find installation candidates for {}".format(package)
             )

# Get the best link

I noticed that there is an open StackOverflow question regarding an earlier version. I have read the issues and saw that there was a similar issue with v3.1.2.1 but as you can see the problem persists on docker.

Any workarounds for this?

I have tested the versions from latest to 3.1.2.2

DBlek avatar Sep 20 '21 13:09 DBlek

which platform are you running on?

plutoless avatar Sep 22 '21 04:09 plutoless

macOS

DBlek avatar Sep 22 '21 06:09 DBlek