You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pipx install py-nest-thermostat
Fatal error from pip prevented installation. Full pip output in file:
/Users/fernandob/.local/pipx/logs/cmd_2023-08-23_15.33.07_pip_errors.log
pip seemed to fail to build package:
psycopg2<3.0.0,>=2.9.1
Some possibly relevant errors from pip install:
error: subprocess-exited-with-error
Error: pg_config executable not found.
error: metadata-generation-failed
Error installing py-nest-thermostat.
Looking at the log it looks like is looking for some pg binary for psycopg2. I don't have pg on my local machine because I use docker for all my projects. Honestly your everyday users is going to have no clue how to install any of this properly. I suggest removing this dependency and go with something lighter like sqlite. I would remove db stuff all together and create an option for mqtt or some queue publisher for advance users. Then those users can read the queue from whatever they want and write to whatever db they want. Obviously this is a big change, so if you don't want to I understand. I'll just make a clean clone without forking.
Error: pg_config executable not found.
pg_config is required to build psycopg2 from source. Please add the directory
containing pg_config to the $PATH or specify the full executable path with the
option:
The text was updated successfully, but these errors were encountered:
Looking at the log it looks like is looking for some pg binary for psycopg2. I don't have pg on my local machine because I use docker for all my projects. Honestly your everyday users is going to have no clue how to install any of this properly. I suggest removing this dependency and go with something lighter like sqlite. I would remove db stuff all together and create an option for mqtt or some queue publisher for advance users. Then those users can read the queue from whatever they want and write to whatever db they want. Obviously this is a big change, so if you don't want to I understand. I'll just make a clean clone without forking.
The text was updated successfully, but these errors were encountered: