Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

Unable to #49

Open
jplabcpt opened this issue May 12, 2021 · 4 comments
Open

Unable to #49

jplabcpt opened this issue May 12, 2021 · 4 comments

Comments

@jplabcpt
Copy link

My model is not supported and while trying to "Prepare the Environment", I get the following error after following the steps.

$ source aioairctrl-shell.sh
ERROR: You must give at least one requirement to install (see "pip help install")
WARNING: You are using pip version 20.2.3; however, version 21.1.1 is available.
-bash: aioairctrl: command not found

Any suggestions on how to proceed?

@betaboon
Copy link
Owner

can you give some more context about the system you are using? os, shell, python-version etc

tbh that script initially was just a quick hack.

@jplabcpt
Copy link
Author

Running from Mac on terminal with Python 3.9.4

@betaboon
Copy link
Owner

i bet the sed-expression in the script doesnt work properly on macos:
https://github.com/betaboon/philips-airpurifier-coap/blob/master/aioairctrl-shell.sh#L4

so either:

  • try finding a regex that works for macos as well (i have no way of testing that, i dont own a mac)

or:

  • you do manually what the script does:
python3 -m venv .venv
source .venv/bin/activate
pip3 install git+https://github.com/betaboon/[email protected]

@kongo09
Copy link

kongo09 commented Apr 7, 2022

@jplab1983 is your model working now? Which model do you have?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants