Can't install with pip command
I tried installing this using "pip install agora-python-sdk"
it gave me this: ERROR: Could not find a version that satisfies the requirement agora-python-sdk (from versions: none) ERROR: No matching distribution found for agora-python-sdk
latest version of python on windows 10 64bit pip version 21.1.2
need help :(
hi @alirezagit could you pls share the full logs of executing above commands. this can be caused by various reasons.
Thanks for responding
I don't exactly know where I can access the full logs but I executed the command like this:
PS C:\Users\Alireza\PycharmProjects\pythonProject> pip install agora-python-sdk ERROR: Could not find a version that satisfies the requirement agora-python-sdk (from versions: none) ERROR: No matching distribution found for agora-python-sdk
I tried adding version numbers to the command but same error happened
am I doing anything wrong?
@alirezagit which version of python/pip are you using? maybe try upgrading to latest version?
They're both the latest version but don't work.
hey
It happens because there is no candidate whl file for installing agora sdk on windows with the latest version!
Look at the pypi repo files, you will simply figure it out.
Also you could test if previous versions works for you: pip install agora-python-sdk==3.1.2.10
I have the same problem。 i use this cmd : pip install agora-python-sdk==3.4.2.1 Python 3.10.4 pip 22.0.4 win10 64
ERROR: Could not find a version that satisfies the requirement agora-python-sdk==3.4.2.1 (from versions: none) ERROR: No matching distribution found for agora-python-sdk==3.4.2.1
Hello,
I have facing the same problem. I am using ubuntu 20.04. python version is 3.8 and pip version is 20.0.2. ERROR: Could not find a version that satisfies the requirement agora-python-sdk (from versions: none) ERROR: No matching distribution found for agora-python-sdk
I am facing the same issues using Mac OS Monterey 12.5.1, with python 3.8. I have tried pip installing which gives the error: ERROR: Could not find a version that satisfies the requirement agora-python-sdk==3.1.2.10 (from versions: none) ERROR: No matching distribution found for agora-python-sdk==3.1.2.10
I have also tried pip install without the version just like this: pip install agora-python-sdk pip3 install agora-python-sdk
Which both failed.
Then I tried installing from the cloned repo, and after following these steps:
git clone https://github.com/AgoraIO-Community/Agora-Python-SDK.git
Download the required SDK.
(macOS) Download SDK Agora Video SDK for macOS. Unzip the downloaded SDK package and copy the AograRtcEngineKit.framework from libs folder into the repository root folder.
I followed these steps, then ran the command in repo root folder:
/Users/paulfentress/Desktop/AI-Agora/venv/bin/python3: can't open file 'setup.py': [Errno 2] No such file or directory
So then I CD into: /Users/paulfentress/Desktop/AI-Agora/Agora-Python-SDK And run: python3 setup.py build_ext --inplace
Then I get this error:
running build_ext building '_agorartc' extension clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -Isrc/cross-platform-sdk-module -Isrc -I</opt/homebrew/opt/portaudio>/include/ -I/Users/paulfentress/Desktop/AI-Agora/venv/include -I/opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c AgoraRtc_wrap.cxx -o build/temp.macosx-12-arm64-3.8/AgoraRtc_wrap.o -std=c++14 -stdlib=libc++ AgoraRtc_wrap.cxx:1782:7: warning: 'tp_print' is deprecated [-Wdeprecated-declarations] 0, /* tp_print */ ^ /opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int); ^ /opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated)) ^ In file included from AgoraRtc_wrap.cxx:180: In file included from /opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8/Python.h:85: In file included from /opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8/pytime.h:6: In file included from /opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8/object.h:746: /opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8/cpython/object.h:177:16: warning: 'tp_print' is deprecated [-Wdeprecated-declarations] typedef struct _typeobject { ^ AgoraRtc_wrap.cxx:1792:23: note: in implicit copy assignment operator for '_typeobject' first required here swigpyobject_type = tmp; ^ /opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int); ^ /opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated)) ^ In file included from AgoraRtc_wrap.cxx:180: In file included from /opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8/Python.h:85: In file included from /opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8/pytime.h:6: In file included from /opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8/object.h:746: /opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8/cpython/object.h:177:16: warning: 'tp_print' is deprecated [-Wdeprecated-declarations] typedef struct _typeobject { ^ /opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE , int); ^ /opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated)) ^ AgoraRtc_wrap.cxx:1949:7: warning: 'tp_print' is deprecated [-Wdeprecated-declarations] 0, / tp_print */ ^ /opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE , int); ^ /opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated)) ^ In file included from AgoraRtc_wrap.cxx:3262: In file included from src/cross-platform-sdk-module/rtc/rtcEngine/RtcEngineBridge.h:3: In file included from src/cross-platform-sdk-module/rtc/rtcEngine/../callback/rtcEngineCallback/RtcEngineEventHandler.h:3: In file included from src/cross-platform-sdk-module/rtc/rtcEngine/../callback/rtcEngineCallback/../template_class_rtc_engine_event_handler.h:5: src/cross-platform-sdk-module/rtc/rtcEngine/../callback/rtcEngineCallback/../../include/IAgoraRtcEngine.h:2656:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(redness), ^~~~~~~~~~~~~~~~~~~~~ smoothnessLevel(smoothness) src/cross-platform-sdk-module/rtc/rtcEngine/../callback/rtcEngineCallback/../../include/IAgoraRtcEngine.h:2662:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(0), ^~~~~~~~~~~~~~~ smoothnessLevel(0) In file included from AgoraRtc_wrap.cxx:3262: In file included from src/cross-platform-sdk-module/rtc/rtcEngine/RtcEngineBridge.h:6: In file included from src/cross-platform-sdk-module/rtc/rtcEngine/../common/utils/StructHelper.h:7: src/cross-platform-sdk-module/rtc/rtcEngine/../common/utils/../../include/IAgoraRtcChannel.h:472:9: warning: expression result unused [-Wunused-value] (RTMP_STREAM_PUBLISH_STATE) state; ^ ~~~~~ src/cross-platform-sdk-module/rtc/rtcEngine/../common/utils/../../include/IAgoraRtcChannel.h:473:9: warning: expression result unused [-Wunused-value] (RTMP_STREAM_PUBLISH_ERROR) errCode; ^ ~~~~~~~ src/cross-platform-sdk-module/rtc/rtcEngine/../common/utils/../../include/IAgoraRtcChannel.h:487:9: warning: expression result unused [-Wunused-value] (RTMP_STREAMING_EVENT) eventCode; ^ ~~~~~~~~~ AgoraRtc_wrap.cxx:44012:9: warning: 'tp_print' is deprecated [-Wdeprecated-declarations] 0, / tp_print */ ^ /opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int); ^ /opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated)) ^ 10 warnings generated. clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -Isrc/cross-platform-sdk-module -Isrc -I</opt/homebrew/opt/portaudio>/include/ -I/Users/paulfentress/Desktop/AI-Agora/venv/include -I/opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c src/AgoraRtc.cpp -o build/temp.macosx-12-arm64-3.8/src/AgoraRtc.o -std=c++14 -stdlib=libc++ In file included from src/AgoraRtc.cpp:2: In file included from src/cross-platform-sdk-module/rtc/rtcEngine/RtcEngineBridge.h:3: In file included from src/cross-platform-sdk-module/rtc/rtcEngine/../callback/rtcEngineCallback/RtcEngineEventHandler.h:3: In file included from src/cross-platform-sdk-module/rtc/rtcEngine/../callback/rtcEngineCallback/../template_class_rtc_engine_event_handler.h:5: src/cross-platform-sdk-module/rtc/rtcEngine/../callback/rtcEngineCallback/../../include/IAgoraRtcEngine.h:2656:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(redness), ^~~~~~~~~~~~~~~~~~~~~ smoothnessLevel(smoothness) src/cross-platform-sdk-module/rtc/rtcEngine/../callback/rtcEngineCallback/../../include/IAgoraRtcEngine.h:2662:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(0), ^~~~~~~~~~~~~~~ smoothnessLevel(0) In file included from src/AgoraRtc.cpp:2: In file included from src/cross-platform-sdk-module/rtc/rtcEngine/RtcEngineBridge.h:6: In file included from src/cross-platform-sdk-module/rtc/rtcEngine/../common/utils/StructHelper.h:7: src/cross-platform-sdk-module/rtc/rtcEngine/../common/utils/../../include/IAgoraRtcChannel.h:472:9: warning: expression result unused [-Wunused-value] (RTMP_STREAM_PUBLISH_STATE) state; ^ ~~~~~ src/cross-platform-sdk-module/rtc/rtcEngine/../common/utils/../../include/IAgoraRtcChannel.h:473:9: warning: expression result unused [-Wunused-value] (RTMP_STREAM_PUBLISH_ERROR) errCode; ^ ~~~~~~~ src/cross-platform-sdk-module/rtc/rtcEngine/../common/utils/../../include/IAgoraRtcChannel.h:487:9: warning: expression result unused [-Wunused-value] (RTMP_STREAMING_EVENT) eventCode; ^ ~~~~~~~~~ src/AgoraRtc.cpp:142:5: warning: delete called on non-final 'MyVideoFrameObserver' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete fo; ^ src/AgoraRtc.cpp:153:5: warning: delete called on non-final 'MyAudioFrameObserver' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] delete fo; ^ 7 warnings generated. clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -Isrc/cross-platform-sdk-module -Isrc -I</opt/homebrew/opt/portaudio>/include/ -I/Users/paulfentress/Desktop/AI-Agora/venv/include -I/opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c src/cross-platform-sdk-module/rtc/rtcEngine/RtcEngineBridge.cpp -o build/temp.macosx-12-arm64-3.8/src/cross-platform-sdk-module/rtc/rtcEngine/RtcEngineBridge.o -std=c++14 -stdlib=libc++ In file included from src/cross-platform-sdk-module/rtc/rtcEngine/RtcEngineBridge.cpp:1: In file included from src/cross-platform-sdk-module/rtc/rtcEngine/RtcEngineBridge.h:3: In file included from src/cross-platform-sdk-module/rtc/rtcEngine/../callback/rtcEngineCallback/RtcEngineEventHandler.h:3: In file included from src/cross-platform-sdk-module/rtc/rtcEngine/../callback/rtcEngineCallback/../template_class_rtc_engine_event_handler.h:5: src/cross-platform-sdk-module/rtc/rtcEngine/../callback/rtcEngineCallback/../../include/IAgoraRtcEngine.h:2656:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(redness), ^~~~~~~~~~~~~~~~~~~~~ smoothnessLevel(smoothness) src/cross-platform-sdk-module/rtc/rtcEngine/../callback/rtcEngineCallback/../../include/IAgoraRtcEngine.h:2662:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(0), ^~~~~~~~~~~~~~~ smoothnessLevel(0) In file included from src/cross-platform-sdk-module/rtc/rtcEngine/RtcEngineBridge.cpp:1: In file included from src/cross-platform-sdk-module/rtc/rtcEngine/RtcEngineBridge.h:6: In file included from src/cross-platform-sdk-module/rtc/rtcEngine/../common/utils/StructHelper.h:7: src/cross-platform-sdk-module/rtc/rtcEngine/../common/utils/../../include/IAgoraRtcChannel.h:472:9: warning: expression result unused [-Wunused-value] (RTMP_STREAM_PUBLISH_STATE) state; ^ ~~~~~ src/cross-platform-sdk-module/rtc/rtcEngine/../common/utils/../../include/IAgoraRtcChannel.h:473:9: warning: expression result unused [-Wunused-value] (RTMP_STREAM_PUBLISH_ERROR) errCode; ^ ~~~~~~~ src/cross-platform-sdk-module/rtc/rtcEngine/../common/utils/../../include/IAgoraRtcChannel.h:487:9: warning: expression result unused [-Wunused-value] (RTMP_STREAMING_EVENT) eventCode; ^ ~~~~~~~~~ src/cross-platform-sdk-module/rtc/rtcEngine/RtcEngineBridge.cpp:1814:18: warning: unused variable 'size' [-Wunused-variable] unsigned int size; ^ src/cross-platform-sdk-module/rtc/rtcEngine/RtcEngineBridge.cpp:1818:15: warning: unused variable 'timeStampMs' [-Wunused-variable] long long timeStampMs; ^ 7 warnings generated. clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -Isrc/cross-platform-sdk-module -Isrc -I</opt/homebrew/opt/portaudio>/include/ -I/Users/paulfentress/Desktop/AI-Agora/venv/include -I/opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c src/cross-platform-sdk-module/rtc/test/LogJson.cpp -o build/temp.macosx-12-arm64-3.8/src/cross-platform-sdk-module/rtc/test/LogJson.o -std=c++14 -stdlib=libc++ In file included from src/cross-platform-sdk-module/rtc/test/LogJson.cpp:1: In file included from src/cross-platform-sdk-module/rtc/test/LogJson.h:4: In file included from src/cross-platform-sdk-module/rtc/test/../common/IBridgeCommon.h:7: src/cross-platform-sdk-module/rtc/test/../common/../include/IAgoraRtcEngine.h:2656:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(redness), ^~~~~~~~~~~~~~~~~~~~~ smoothnessLevel(smoothness) src/cross-platform-sdk-module/rtc/test/../common/../include/IAgoraRtcEngine.h:2662:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(0), ^~~~~~~~~~~~~~~ smoothnessLevel(0) In file included from src/cross-platform-sdk-module/rtc/test/LogJson.cpp:1: In file included from src/cross-platform-sdk-module/rtc/test/LogJson.h:6: src/cross-platform-sdk-module/rtc/test/../include/IAgoraRtcChannel.h:472:9: warning: expression result unused [-Wunused-value] (RTMP_STREAM_PUBLISH_STATE) state; ^ ~~~~~ src/cross-platform-sdk-module/rtc/test/../include/IAgoraRtcChannel.h:473:9: warning: expression result unused [-Wunused-value] (RTMP_STREAM_PUBLISH_ERROR) errCode; ^ ~~~~~~~ src/cross-platform-sdk-module/rtc/test/../include/IAgoraRtcChannel.h:487:9: warning: expression result unused [-Wunused-value] (RTMP_STREAMING_EVENT) eventCode; ^ ~~~~~~~~~ src/cross-platform-sdk-module/rtc/test/LogJson.cpp:148:21: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare] for (int i = 0; i < transcoding.userCount; ++i) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -Isrc/cross-platform-sdk-module -Isrc -I</opt/homebrew/opt/portaudio>/include/ -I/Users/paulfentress/Desktop/AI-Agora/venv/include -I/opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c src/cross-platform-sdk-module/rtc/test/ApiTester.cpp -o build/temp.macosx-12-arm64-3.8/src/cross-platform-sdk-module/rtc/test/ApiTester.o -std=c++14 -stdlib=libc++ In file included from src/cross-platform-sdk-module/rtc/test/ApiTester.cpp:1: In file included from src/cross-platform-sdk-module/rtc/test/ApiTester.h:4: In file included from src/cross-platform-sdk-module/rtc/test/LogJson.h:4: In file included from src/cross-platform-sdk-module/rtc/test/../common/IBridgeCommon.h:7: src/cross-platform-sdk-module/rtc/test/../common/../include/IAgoraRtcEngine.h:2656:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(redness), ^~~~~~~~~~~~~~~~~~~~~ smoothnessLevel(smoothness) src/cross-platform-sdk-module/rtc/test/../common/../include/IAgoraRtcEngine.h:2662:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(0), ^~~~~~~~~~~~~~~ smoothnessLevel(0) In file included from src/cross-platform-sdk-module/rtc/test/ApiTester.cpp:1: In file included from src/cross-platform-sdk-module/rtc/test/ApiTester.h:4: In file included from src/cross-platform-sdk-module/rtc/test/LogJson.h:6: src/cross-platform-sdk-module/rtc/test/../include/IAgoraRtcChannel.h:472:9: warning: expression result unused [-Wunused-value] (RTMP_STREAM_PUBLISH_STATE) state; ^ ~~~~~ src/cross-platform-sdk-module/rtc/test/../include/IAgoraRtcChannel.h:473:9: warning: expression result unused [-Wunused-value] (RTMP_STREAM_PUBLISH_ERROR) errCode; ^ ~~~~~~~ src/cross-platform-sdk-module/rtc/test/../include/IAgoraRtcChannel.h:487:9: warning: expression result unused [-Wunused-value] (RTMP_STREAMING_EVENT) eventCode; ^ ~~~~~~~~~ 5 warnings generated. clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -Isrc/cross-platform-sdk-module -Isrc -I</opt/homebrew/opt/portaudio>/include/ -I/Users/paulfentress/Desktop/AI-Agora/venv/include -I/opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c src/cross-platform-sdk-module/rtc/test/EventTester.cpp -o build/temp.macosx-12-arm64-3.8/src/cross-platform-sdk-module/rtc/test/EventTester.o -std=c++14 -stdlib=libc++ In file included from src/cross-platform-sdk-module/rtc/test/EventTester.cpp:1: In file included from src/cross-platform-sdk-module/rtc/test/EventTester.h:4: In file included from src/cross-platform-sdk-module/rtc/test/../callback/rtcChannnelCallback/RtcChannelEventHandlerBase.h:12: In file included from src/cross-platform-sdk-module/rtc/test/../callback/rtcChannnelCallback/../../include/IAgoraRtcChannel.h:9: src/cross-platform-sdk-module/rtc/test/../callback/rtcChannnelCallback/../../include/IAgoraRtcEngine.h:2656:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(redness), ^~~~~~~~~~~~~~~~~~~~~ smoothnessLevel(smoothness) src/cross-platform-sdk-module/rtc/test/../callback/rtcChannnelCallback/../../include/IAgoraRtcEngine.h:2662:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(0), ^~~~~~~~~~~~~~~ smoothnessLevel(0) In file included from src/cross-platform-sdk-module/rtc/test/EventTester.cpp:1: In file included from src/cross-platform-sdk-module/rtc/test/EventTester.h:4: In file included from src/cross-platform-sdk-module/rtc/test/../callback/rtcChannnelCallback/RtcChannelEventHandlerBase.h:12: src/cross-platform-sdk-module/rtc/test/../callback/rtcChannnelCallback/../../include/IAgoraRtcChannel.h:472:9: warning: expression result unused [-Wunused-value] (RTMP_STREAM_PUBLISH_STATE) state; ^ ~~~~~ src/cross-platform-sdk-module/rtc/test/../callback/rtcChannnelCallback/../../include/IAgoraRtcChannel.h:473:9: warning: expression result unused [-Wunused-value] (RTMP_STREAM_PUBLISH_ERROR) errCode; ^ ~~~~~~~ src/cross-platform-sdk-module/rtc/test/../callback/rtcChannnelCallback/../../include/IAgoraRtcChannel.h:487:9: warning: expression result unused [-Wunused-value] (RTMP_STREAMING_EVENT) eventCode; ^ ~~~~~~~~~ 5 warnings generated. clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -Isrc/cross-platform-sdk-module -Isrc -I</opt/homebrew/opt/portaudio>/include/ -I/Users/paulfentress/Desktop/AI-Agora/venv/include -I/opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c src/cross-platform-sdk-module/rtc/rtcChannel/RtcChannelBridge.cpp -o build/temp.macosx-12-arm64-3.8/src/cross-platform-sdk-module/rtc/rtcChannel/RtcChannelBridge.o -std=c++14 -stdlib=libc++ In file included from src/cross-platform-sdk-module/rtc/rtcChannel/RtcChannelBridge.cpp:5: In file included from src/cross-platform-sdk-module/rtc/rtcChannel/RtcChannelBridge.h:7: In file included from src/cross-platform-sdk-module/rtc/rtcChannel/../callback/rtcChannnelCallback/RtcChannelEventHandler.h:7: In file included from src/cross-platform-sdk-module/rtc/rtcChannel/../callback/rtcChannnelCallback/../template_class_rtc_channel_event_handler.h:5: src/cross-platform-sdk-module/rtc/rtcChannel/../callback/rtcChannnelCallback/../../include/IAgoraRtcEngine.h:2656:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(redness), ^~~~~~~~~~~~~~~~~~~~~ smoothnessLevel(smoothness) src/cross-platform-sdk-module/rtc/rtcChannel/../callback/rtcChannnelCallback/../../include/IAgoraRtcEngine.h:2662:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(0), ^~~~~~~~~~~~~~~ smoothnessLevel(0) In file included from src/cross-platform-sdk-module/rtc/rtcChannel/RtcChannelBridge.cpp:5: In file included from src/cross-platform-sdk-module/rtc/rtcChannel/RtcChannelBridge.h:7: In file included from src/cross-platform-sdk-module/rtc/rtcChannel/../callback/rtcChannnelCallback/RtcChannelEventHandler.h:8: In file included from src/cross-platform-sdk-module/rtc/rtcChannel/../callback/rtcChannnelCallback/RtcChannelEventHandlerBase.h:12: src/cross-platform-sdk-module/rtc/rtcChannel/../callback/rtcChannnelCallback/../../include/IAgoraRtcChannel.h:472:9: warning: expression result unused [-Wunused-value] (RTMP_STREAM_PUBLISH_STATE) state; ^ ~~~~~ src/cross-platform-sdk-module/rtc/rtcChannel/../callback/rtcChannnelCallback/../../include/IAgoraRtcChannel.h:473:9: warning: expression result unused [-Wunused-value] (RTMP_STREAM_PUBLISH_ERROR) errCode; ^ ~~~~~~~ src/cross-platform-sdk-module/rtc/rtcChannel/../callback/rtcChannnelCallback/../../include/IAgoraRtcChannel.h:487:9: warning: expression result unused [-Wunused-value] (RTMP_STREAMING_EVENT) eventCode; ^ ~~~~~~~~~ src/cross-platform-sdk-module/rtc/rtcChannel/RtcChannelBridge.cpp:561:18: warning: unused variable 'size' [-Wunused-variable] unsigned int size; ^ src/cross-platform-sdk-module/rtc/rtcChannel/RtcChannelBridge.cpp:565:15: warning: unused variable 'timeStampMs' [-Wunused-variable] long long timeStampMs; ^ 7 warnings generated. clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -Isrc/cross-platform-sdk-module -Isrc -I</opt/homebrew/opt/portaudio>/include/ -I/Users/paulfentress/Desktop/AI-Agora/venv/include -I/opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c src/cross-platform-sdk-module/rtc/observer/metadata/metadata_observer.cpp -o build/temp.macosx-12-arm64-3.8/src/cross-platform-sdk-module/rtc/observer/metadata/metadata_observer.o -std=c++14 -stdlib=libc++ In file included from src/cross-platform-sdk-module/rtc/observer/metadata/metadata_observer.cpp:1: In file included from src/cross-platform-sdk-module/rtc/observer/metadata/metadata_observer.h:3: In file included from src/cross-platform-sdk-module/rtc/observer/metadata/../../common/IBridgeCommon.h:7: src/cross-platform-sdk-module/rtc/observer/metadata/../../common/../include/IAgoraRtcEngine.h:2656:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(redness), ^~~~~~~~~~~~~~~~~~~~~ smoothnessLevel(smoothness) src/cross-platform-sdk-module/rtc/observer/metadata/../../common/../include/IAgoraRtcEngine.h:2662:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(0), ^~~~~~~~~~~~~~~ smoothnessLevel(0) src/cross-platform-sdk-module/rtc/observer/metadata/metadata_observer.cpp:65:27: warning: comparison of integers of different signs: 'std::queue<agora::rtc::IMetadataObserver::Metadata *>::size_type' (aka 'unsigned long') and 'const int' [-Wsign-compare] if (messageQueue.size() > QUEUE_MAX_CACHE_LENGTH) { ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -Isrc/cross-platform-sdk-module -Isrc -I</opt/homebrew/opt/portaudio>/include/ -I/Users/paulfentress/Desktop/AI-Agora/venv/include -I/opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c src/cross-platform-sdk-module/rtc/deviceManager/audioDeviceManager/AudioPlaybackDeviceManager.cpp -o build/temp.macosx-12-arm64-3.8/src/cross-platform-sdk-module/rtc/deviceManager/audioDeviceManager/AudioPlaybackDeviceManager.o -std=c++14 -stdlib=libc++ In file included from src/cross-platform-sdk-module/rtc/deviceManager/audioDeviceManager/AudioPlaybackDeviceManager.cpp:5: In file included from src/cross-platform-sdk-module/rtc/deviceManager/audioDeviceManager/AudioPlaybackDeviceManager.h:7: In file included from src/cross-platform-sdk-module/rtc/deviceManager/audioDeviceManager/../../common/IBridgeCommon.h:7: src/cross-platform-sdk-module/rtc/deviceManager/audioDeviceManager/../../common/../include/IAgoraRtcEngine.h:2656:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(redness), ^~~~~~~~~~~~~~~~~~~~~ smoothnessLevel(smoothness) src/cross-platform-sdk-module/rtc/deviceManager/audioDeviceManager/../../common/../include/IAgoraRtcEngine.h:2662:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(0), ^~~~~~~~~~~~~~~ smoothnessLevel(0) 2 warnings generated. clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -Isrc/cross-platform-sdk-module -Isrc -I</opt/homebrew/opt/portaudio>/include/ -I/Users/paulfentress/Desktop/AI-Agora/venv/include -I/opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c src/cross-platform-sdk-module/rtc/deviceManager/audioDeviceManager/AudioRecordingDeviceManager.cpp -o build/temp.macosx-12-arm64-3.8/src/cross-platform-sdk-module/rtc/deviceManager/audioDeviceManager/AudioRecordingDeviceManager.o -std=c++14 -stdlib=libc++ In file included from src/cross-platform-sdk-module/rtc/deviceManager/audioDeviceManager/AudioRecordingDeviceManager.cpp:5: In file included from src/cross-platform-sdk-module/rtc/deviceManager/audioDeviceManager/AudioRecordingDeviceManager.h:6: src/cross-platform-sdk-module/rtc/deviceManager/audioDeviceManager/../../include/IAgoraRtcEngine.h:2656:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(redness), ^~~~~~~~~~~~~~~~~~~~~ smoothnessLevel(smoothness) src/cross-platform-sdk-module/rtc/deviceManager/audioDeviceManager/../../include/IAgoraRtcEngine.h:2662:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(0), ^~~~~~~~~~~~~~~ smoothnessLevel(0) 2 warnings generated. clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -Isrc/cross-platform-sdk-module -Isrc -I</opt/homebrew/opt/portaudio>/include/ -I/Users/paulfentress/Desktop/AI-Agora/venv/include -I/opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c src/cross-platform-sdk-module/rtc/deviceManager/videoDeviceManager/VideoDeviceManager.cpp -o build/temp.macosx-12-arm64-3.8/src/cross-platform-sdk-module/rtc/deviceManager/videoDeviceManager/VideoDeviceManager.o -std=c++14 -stdlib=libc++ In file included from src/cross-platform-sdk-module/rtc/deviceManager/videoDeviceManager/VideoDeviceManager.cpp:5: In file included from src/cross-platform-sdk-module/rtc/deviceManager/videoDeviceManager/VideoDeviceManager.h:6: In file included from src/cross-platform-sdk-module/rtc/deviceManager/videoDeviceManager/../../common/IBridgeCommon.h:7: src/cross-platform-sdk-module/rtc/deviceManager/videoDeviceManager/../../common/../include/IAgoraRtcEngine.h:2656:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(redness), ^~~~~~~~~~~~~~~~~~~~~ smoothnessLevel(smoothness) src/cross-platform-sdk-module/rtc/deviceManager/videoDeviceManager/../../common/../include/IAgoraRtcEngine.h:2662:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(0), ^~~~~~~~~~~~~~~ smoothnessLevel(0) 2 warnings generated. clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -Isrc/cross-platform-sdk-module -Isrc -I</opt/homebrew/opt/portaudio>/include/ -I/Users/paulfentress/Desktop/AI-Agora/venv/include -I/opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c src/cross-platform-sdk-module/rtc/callback/rtcChannnelCallback/RtcChannelEventHandler.cpp -o build/temp.macosx-12-arm64-3.8/src/cross-platform-sdk-module/rtc/callback/rtcChannnelCallback/RtcChannelEventHandler.o -std=c++14 -stdlib=libc++ In file included from src/cross-platform-sdk-module/rtc/callback/rtcChannnelCallback/RtcChannelEventHandler.cpp:5: In file included from src/cross-platform-sdk-module/rtc/callback/rtcChannnelCallback/RtcChannelEventHandler.h:7: In file included from src/cross-platform-sdk-module/rtc/callback/rtcChannnelCallback/../template_class_rtc_channel_event_handler.h:5: src/cross-platform-sdk-module/rtc/callback/rtcChannnelCallback/../../include/IAgoraRtcEngine.h:2656:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(redness), ^~~~~~~~~~~~~~~~~~~~~ smoothnessLevel(smoothness) src/cross-platform-sdk-module/rtc/callback/rtcChannnelCallback/../../include/IAgoraRtcEngine.h:2662:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(0), ^~~~~~~~~~~~~~~ smoothnessLevel(0) In file included from src/cross-platform-sdk-module/rtc/callback/rtcChannnelCallback/RtcChannelEventHandler.cpp:5: In file included from src/cross-platform-sdk-module/rtc/callback/rtcChannnelCallback/RtcChannelEventHandler.h:8: In file included from src/cross-platform-sdk-module/rtc/callback/rtcChannnelCallback/RtcChannelEventHandlerBase.h:12: src/cross-platform-sdk-module/rtc/callback/rtcChannnelCallback/../../include/IAgoraRtcChannel.h:472:9: warning: expression result unused [-Wunused-value] (RTMP_STREAM_PUBLISH_STATE) state; ^ ~~~~~ src/cross-platform-sdk-module/rtc/callback/rtcChannnelCallback/../../include/IAgoraRtcChannel.h:473:9: warning: expression result unused [-Wunused-value] (RTMP_STREAM_PUBLISH_ERROR) errCode; ^ ~~~~~~~ src/cross-platform-sdk-module/rtc/callback/rtcChannnelCallback/../../include/IAgoraRtcChannel.h:487:9: warning: expression result unused [-Wunused-value] (RTMP_STREAMING_EVENT) eventCode; ^ ~~~~~~~~~ 5 warnings generated. clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -Isrc/cross-platform-sdk-module -Isrc -I</opt/homebrew/opt/portaudio>/include/ -I/Users/paulfentress/Desktop/AI-Agora/venv/include -I/opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c src/cross-platform-sdk-module/rtc/callback/rtcEngineCallback/RtcEngineEventHandler.cpp -o build/temp.macosx-12-arm64-3.8/src/cross-platform-sdk-module/rtc/callback/rtcEngineCallback/RtcEngineEventHandler.o -std=c++14 -stdlib=libc++ In file included from src/cross-platform-sdk-module/rtc/callback/rtcEngineCallback/RtcEngineEventHandler.cpp:1: In file included from src/cross-platform-sdk-module/rtc/callback/rtcEngineCallback/RtcEngineEventHandler.h:3: In file included from src/cross-platform-sdk-module/rtc/callback/rtcEngineCallback/../template_class_rtc_engine_event_handler.h:5: src/cross-platform-sdk-module/rtc/callback/rtcEngineCallback/../../include/IAgoraRtcEngine.h:2656:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(redness), ^~~~~~~~~~~~~~~~~~~~~ smoothnessLevel(smoothness) src/cross-platform-sdk-module/rtc/callback/rtcEngineCallback/../../include/IAgoraRtcEngine.h:2662:5: warning: field 'rednessLevel' will be initialized after field 'lighteningContrastLevel' [-Wreorder-ctor] rednessLevel(0), ^~~~~~~~~~~~~~~ smoothnessLevel(0) src/cross-platform-sdk-module/rtc/callback/rtcEngineCallback/RtcEngineEventHandler.cpp:318:23: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (int i = 0; i < speakerNumber; i++) { ~ ^ ~~~~~~~~~~~~~ 3 warnings generated. clang++ -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework AgoraRtcKit build/temp.macosx-12-arm64-3.8/AgoraRtc_wrap.o build/temp.macosx-12-arm64-3.8/src/AgoraRtc.o build/temp.macosx-12-arm64-3.8/src/cross-platform-sdk-module/rtc/rtcEngine/RtcEngineBridge.o build/temp.macosx-12-arm64-3.8/src/cross-platform-sdk-module/rtc/test/LogJson.o build/temp.macosx-12-arm64-3.8/src/cross-platform-sdk-module/rtc/test/ApiTester.o build/temp.macosx-12-arm64-3.8/src/cross-platform-sdk-module/rtc/test/EventTester.o build/temp.macosx-12-arm64-3.8/src/cross-platform-sdk-module/rtc/rtcChannel/RtcChannelBridge.o build/temp.macosx-12-arm64-3.8/src/cross-platform-sdk-module/rtc/observer/metadata/metadata_observer.o build/temp.macosx-12-arm64-3.8/src/cross-platform-sdk-module/rtc/deviceManager/audioDeviceManager/AudioPlaybackDeviceManager.o build/temp.macosx-12-arm64-3.8/src/cross-platform-sdk-module/rtc/deviceManager/audioDeviceManager/AudioRecordingDeviceManager.o build/temp.macosx-12-arm64-3.8/src/cross-platform-sdk-module/rtc/deviceManager/videoDeviceManager/VideoDeviceManager.o build/temp.macosx-12-arm64-3.8/src/cross-platform-sdk-module/rtc/callback/rtcChannnelCallback/RtcChannelEventHandler.o build/temp.macosx-12-arm64-3.8/src/cross-platform-sdk-module/rtc/callback/rtcEngineCallback/RtcEngineEventHandler.o -L</opt/homebrew/opt/portaudio>/lib/ -o build/lib.macosx-12-arm64-3.8/_agorartc.cpython-38-darwin.so -F. -Wl,-rpath,@loader_path ld: warning: directory not found for option '-L</opt/homebrew/opt/portaudio>/lib/' ld: framework not found AgoraRtcKit clang: error: linker command failed with exit code 1 (use -v to see invocation) error: command 'clang++' failed with exit status 1
for all above, please try upgrading version to latest and try again. As you can see the release do exists on pypi. https://pypi.org/project/agora-python-sdk/3.4.2.1/ btw agora-python-sdk currently supports windows/macos only, so it's not working on linux, this is designed behavior.