Azure-Samples / Azure-Samples/communication-services-python-quickstarts

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

Đang mở
#57 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
44
Fork
53
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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
```

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)
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với các bước cài đặt trong README và tái hiện lỗi bằng aoai-whl/rtclient-0.5.1-py3-none-any.whl trên Windows 11 với Python 3.11. Kiểm tra wheel và siêu dữ liệu cài đặt của nó để xác định nguồn gốc của lỗi giải mã cp1252. Công việc được xem là hoàn tất khi các lệnh thiết lập được ghi trong tài liệu cài đặt thành công trên môi trường đã báo cáo hoặc README ghi rõ cách khắc phục được hỗ trợ.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
azure, python
Lĩnh vực
build-system, devtools
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.