Azure-Samples / Azure-Samples/communication-services-python-quickstarts
can't setup rtclient for callautomation-azure-openai-voice
- Langage dominant
- Python
- Étoiles
- 44
- Forks
- 53
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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)
```
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Start with the installation steps in README and reproduce the failure using aoai-whl/rtclient-0.5.1-py3-none-any.whl on Windows 11 with Python 3.11. Inspect the wheel and its installation metadata to identify the source of the cp1252 decoding error. Done means the documented setup commands install successfully on the reported environment or the README clearly documents the supported workaround.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- azure, python
- Domaine
- build-system, devtools
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100