dauden1184 / RaspiNukiBridge

Simple Nuki Bridge implementation using asyncio
GNU General Public License v3.0
48 stars 19 forks source link

Error pairing: PY_SSIZE_T_CLEAN must be defined #17

Closed juanrferia closed 1 year ago

juanrferia commented 1 year ago

Hello. When executing the step for pairing _python . --pair MACADDRESS I get the following error:

image

I appreciate if anyone can help me to fix it. Thanks

P.S.: Apologies for updating an screenshot, the environment I'm working does not allow me to copy/paste.

dauden1184 commented 1 year ago

Hi, what python version are you using?

juanrferia commented 1 year ago

python 3.10. I'm trying to install it through the SSH & Web Terminal addon from Home Assistant.

dauden1184 commented 1 year ago

It is possible that some of the library used are not updated for python 3.10, can you try with 3.9?

juanrferia commented 1 year ago

Hi. Maybe. I finally decided to use another library based on yours, which worked. I took that post: https://community.home-assistant.io/t/using-nuki-lock-3-0-fully-local-without-bridge/490527 Thanks!