Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

can't setup rtclient for callautomation-azure-openai-voice

未关闭
#57 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
azure, python

调研方向

从 README 中的安装步骤开始,并在 Windows 11 上使用 Python 3.11 和 aoai-whl/rtclient-0.5.1-py3-none-any.whl 重现该故障。检查该 wheel 及其安装元数据,以确定 cp1252 解码错误的来源。当文档中的设置命令能够在所报告的环境中成功安装,或 README 明确记录受支持的变通方法时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

Hi,
Thanks for adding the repo callautomation-azure-openai-voice, I'll be glad to test it.
However, there is a bug when I try to setup my python environement using the instruction in the repo's README file :

pip install -r requirements.txt

Everything is okay with the first command, but the second one returns a error :

pip install -r ./aoai-whl/rtclient-0.5.1-py3-none-any.whl
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\Lib\encodings\cp1252.py", line 15, in decode
    return codecs.charmap_decode(input,errors,decoding_table)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 84: character maps to <undefined>

I'm working on Windows 11 and using a python 3.11 version.
Am I doing something wrong ?
Thank you


This issue is for a: (mark with an x)
- [ x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
主要语言
Python
星标
45
派生
53
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Azure-Samples/communication-services-python-quickstarts 的其他 Issue

查看 Azure-Samples/communication-services-python-quickstarts 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。