AgoraIO-Community / AgoraIO-Community/Agora-Python-QuickStart

AttributeError: module 'agorartc' has no attribute 'RtcEngineEventHandlerBase'

Open
#2 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
43
Forks
21
Avg merge
7d 13h
Merged PRs (30d)
1

Description

D:\proj\gitwork\intech\agora\examples\pyExamples 的目录

2021/01/16 10:21

.
2021/01/16 10:21 ..
2021/01/16 10:20 1,175,410 Agora-Python-QuickStart-master.zip
2020/12/24 15:53 basic_one_to_one_video
2020/12/24 15:53 face_recognition
2020/12/24 15:53 2,072 README.md
2020/12/24 15:53 2,127 Readme.zh.md
3 个文件 1,179,609 字节
4 个目录 106,686,967,808 可用字节

(agora) D:\proj\gitwork\intech\agora\examples\pyExamples>cd basic_one_to_one_video

(agora) D:\proj\gitwork\intech\agora\examples\pyExamples\basic_one_to_one_video>python one2one.py
Traceback (most recent call last):
File "one2one.py", line 15, in
class MyRtcEngineEventHandler(agorartc.RtcEngineEventHandlerBase):
AttributeError: module 'agorartc' has no attribute 'RtcEngineEventHandlerBase'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with examples/pyExamples/basic_one_to_one_video/one2one.py and inspect the installed agorartc module and its available event-handler API. Reproduce the command shown in the report, then compare the example's referenced class with the installed package. Done means the example no longer raises this AttributeError when launched.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
audio-video-rtc
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.