AgoraIO-Community / Agora-Python-SDK

Use Agora RTC SDK with Python!
MIT License
69 stars 25 forks source link

Unable to install in docker via poetry #15

Open DBlek opened 3 years ago

DBlek commented 3 years ago

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

plutoless commented 3 years ago

which platform are you running on?

DBlek commented 3 years ago

macOS