bachya/simplisafe-python

./script/setup gives error : Updating charset-normalizer (3.1.0 -> 2.1.1): Failed

Closed this issue · 2 comments

Describe the bug
script/setup script fails
(from wiki https://simplisafe-python.readthedocs.io/en/latest/usage.html#authentication )

To Reproduce
Steps to reproduce the behavior:
source ./.venv/Scripts/activate
./script/setup

This is the error below. I tried deleting and recreating .venv folder .
Package operations: 73 installs, 7 updates, 0 removals

• Updating charset-normalizer (3.1.0 -> 2.1.1): Failed

CalledProcessError

Command '['D:\gitsrc\simplisafe-python\.venv\Scripts\python.exe', '-m', 'pip', 'uninstall', 'charset-normalizer', '-y']' returned non-zero exit status 2.

Expected behavior
Script installs without error.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context

I am using git bash on VS Code with Administrator access on Windows 11

Add any other context about the problem here.
Screenshot 2023-05-05 103857

I just installed a fresh virtual environment on MacOS and a Linux VM—both worked fine. I'm not a Windows user, so, unfortunately, I can't directly support Windows-related issues.

I found a work around to my problem.
I did : pip install simplisafe-python

Now I can launch /script/auth