Hi Bob
First of all thanks a lot for the fast replies on a sunday. Much appreciated :-). I tried the fix several times but am still not able to run the “brewblox-ctl setup” I have tried to start over with the first 2 commands but still no luck. The pip version seems to be correct now as far as I can see
pi@raspberrypi:~/brewblox $ pip3 install --user --upgrade --no-cache-dir brewblox-ctl
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: brewblox-ctl in /home/pi/.local/lib/python3.7/site-packages (0.25.2)
Requirement already satisfied, skipping upgrade: configobj<6.0.0,>=5.0.6 in /home/pi/.local/lib/python3.7/site-packages (from brewblox-ctl) (5.0.6)
Requirement already satisfied, skipping upgrade: click<8.0.0,>=7.1.2 in /home/pi/.local/lib/python3.7/site-packages (from brewblox-ctl) (7.1.2)
Requirement already satisfied, skipping upgrade: docker<6.0.0,>=5.0.0 in /home/pi/.local/lib/python3.7/site-packages (from brewblox-ctl) (5.0.0)
Requirement already satisfied, skipping upgrade: PyYAML<6.0.0,>=5.4.1 in /home/pi/.local/lib/python3.7/site-packages (from brewblox-ctl) (5.4.1)
Requirement already satisfied, skipping upgrade: python-dotenv[cli]<0.14.0,>=0.13.0 in /home/pi/.local/lib/python3.7/site-packages (from brewblox-ctl) (0.13.0)
Requirement already satisfied, skipping upgrade: requests<3.0.0,>=2.25.1 in /home/pi/.local/lib/python3.7/site-packages (from brewblox-ctl) (2.25.1)
Requirement already satisfied, skipping upgrade: docker-compose<2.0.0,>=1.29.0 in /home/pi/.local/lib/python3.7/site-packages (from brewblox-ctl) (1.29.2)
Requirement already satisfied, skipping upgrade: zeroconf<0.29.0,>=0.28.8 in /home/pi/.local/lib/python3.7/site-packages (from brewblox-ctl) (0.28.8)
Requirement already satisfied, skipping upgrade: six in /usr/lib/python3/dist-packages (from configobj<6.0.0,>=5.0.6->brewblox-ctl) (1.12.0)
Requirement already satisfied, skipping upgrade: websocket-client>=0.32.0 in /home/pi/.local/lib/python3.7/site-packages (from docker<6.0.0,>=5.0.0->brewblox-ctl) (0.59.0)
Requirement already satisfied, skipping upgrade: chardet<5,>=3.0.2 in /usr/lib/python3/dist-packages (from requests<3.0.0,>=2.25.1->brewblox-ctl) (3.0.4)
Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests<3.0.0,>=2.25.1->brewblox-ctl) (2018.8.24)
Requirement already satisfied, skipping upgrade: urllib3<1.27,>=1.21.1 in /usr/lib/python3/dist-packages (from requests<3.0.0,>=2.25.1->brewblox-ctl) (1.24.1)
Requirement already satisfied, skipping upgrade: idna<3,>=2.5 in /usr/lib/python3/dist-packages (from requests<3.0.0,>=2.25.1->brewblox-ctl) (2.6)
Requirement already satisfied, skipping upgrade: docopt<1,>=0.6.1 in /home/pi/.local/lib/python3.7/site-packages (from docker-compose<2.0.0,>=1.29.0->brewblox-ctl) (0.6.2)
Requirement already satisfied, skipping upgrade: dockerpty<1,>=0.4.1 in /home/pi/.local/lib/python3.7/site-packages (from docker-compose<2.0.0,>=1.29.0->brewblox-ctl) (0.4.1)
Requirement already satisfied, skipping upgrade: distro<2,>=1.5.0 in /home/pi/.local/lib/python3.7/site-packages (from docker-compose<2.0.0,>=1.29.0->brewblox-ctl) (1.5.0)
Requirement already satisfied, skipping upgrade: cached-property<2,>=1.2.0; python_version < “3.8” in /home/pi/.local/lib/python3.7/site-packages (from docker-compose<2.0.0,>=1.29.0->brewblox-ctl) (1.5.2)
Requirement already satisfied, skipping upgrade: jsonschema<4,>=2.5.1 in /home/pi/.local/lib/python3.7/site-packages (from docker-compose<2.0.0,>=1.29.0->brewblox-ctl) (3.2.0)
Requirement already satisfied, skipping upgrade: texttable<2,>=0.9.0 in /home/pi/.local/lib/python3.7/site-packages (from docker-compose<2.0.0,>=1.29.0->brewblox-ctl) (1.6.3)
Requirement already satisfied, skipping upgrade: ifaddr>=0.1.7 in /home/pi/.local/lib/python3.7/site-packages (from zeroconf<0.29.0,>=0.28.8->brewblox-ctl) (0.1.7)
Requirement already satisfied, skipping upgrade: importlib-metadata; python_version < “3.8” in /home/pi/.local/lib/python3.7/site-packages (from jsonschema<4,>=2.5.1->docker-compose<2.0.0,>=1.29.0->brewblox-ctl) (4.3.1)
Requirement already satisfied, skipping upgrade: attrs>=17.4.0 in /home/pi/.local/lib/python3.7/site-packages (from jsonschema<4,>=2.5.1->docker-compose<2.0.0,>=1.29.0->brewblox-ctl) (21.2.0)
Requirement already satisfied, skipping upgrade: pyrsistent>=0.14.0 in /home/pi/.local/lib/python3.7/site-packages (from jsonschema<4,>=2.5.1->docker-compose<2.0.0,>=1.29.0->brewblox-ctl) (0.17.3)
Requirement already satisfied, skipping upgrade: setuptools in /usr/lib/python3/dist-packages (from jsonschema<4,>=2.5.1->docker-compose<2.0.0,>=1.29.0->brewblox-ctl) (40.8.0)
Requirement already satisfied, skipping upgrade: typing-extensions>=3.6.4; python_version < “3.8” in /home/pi/.local/lib/python3.7/site-packages (from importlib-metadata; python_version < “3.8”->jsonschema<4,>=2.5.1->docker-compose<2.0.0,>=1.29.0->brewblox-ctl) (3.10.0.0)
Requirement already satisfied, skipping upgrade: zipp>=0.5 in /home/pi/.local/lib/python3.7/site-packages (from importlib-metadata; python_version < “3.8”->jsonschema<4,>=2.5.1->docker-compose<2.0.0,>=1.29.0->brewblox-ctl) (3.4.1)
pi@raspberrypi:~ $ sudo apt update
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:3 https://download.docker.com/linux/raspbian buster InRelease
Reading package lists… Done
Building dependency tree
Reading state information… Done
All packages are up to date.
pi@raspberrypi:~ $ sudo apt upgrade -y
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following package was automatically installed and is no longer required:
python-colorzero
Use ‘sudo apt autoremove’ to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@raspberrypi:~ $ sudo apt install -y python3-pip
Reading package lists… Done
Building dependency tree
Reading state information… Done
python3-pip is already the newest version (18.1-5+rpt1).
The following package was automatically installed and is no longer required:
python-colorzero
Use ‘sudo apt autoremove’ to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@raspberrypi:~ $ pip3 install --user setuptools brewblox-ctl
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (40.8.0)
Requirement already satisfied: brewblox-ctl in ./.local/lib/python3.7/site-packages (0.25.2)
Requirement already satisfied: click<8.0.0,>=7.1.2 in ./.local/lib/python3.7/site-packages (from brewblox-ctl) (7.1.2)
Requirement already satisfied: python-dotenv[cli]<0.14.0,>=0.13.0 in ./.local/lib/python3.7/site-packages (from brewblox-ctl) (0.13.0)
Requirement already satisfied: requests<3.0.0,>=2.25.1 in ./.local/lib/python3.7/site-packages (from brewblox-ctl) (2.25.1)
Requirement already satisfied: configobj<6.0.0,>=5.0.6 in ./.local/lib/python3.7/site-packages (from brewblox-ctl) (5.0.6)
Requirement already satisfied: docker-compose<2.0.0,>=1.29.0 in ./.local/lib/python3.7/site-packages (from brewblox-ctl) (1.29.2)
Requirement already satisfied: docker<6.0.0,>=5.0.0 in ./.local/lib/python3.7/site-packages (from brewblox-ctl) (5.0.0)
Requirement already satisfied: zeroconf<0.29.0,>=0.28.8 in ./.local/lib/python3.7/site-packages (from brewblox-ctl) (0.28.8)
Requirement already satisfied: PyYAML<6.0.0,>=5.4.1 in ./.local/lib/python3.7/site-packages (from brewblox-ctl) (5.4.1)
Requirement already satisfied: chardet<5,>=3.0.2 in /usr/lib/python3/dist-packages (from requests<3.0.0,>=2.25.1->brewblox-ctl) (3.0.4)
Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3/dist-packages (from requests<3.0.0,>=2.25.1->brewblox-ctl) (2.6)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests<3.0.0,>=2.25.1->brewblox-ctl) (2018.8.24)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3/dist-packages (from requests<3.0.0,>=2.25.1->brewblox-ctl) (1.24.1)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from configobj<6.0.0,>=5.0.6->brewblox-ctl) (1.12.0)
Requirement already satisfied: docopt<1,>=0.6.1 in ./.local/lib/python3.7/site-packages (from docker-compose<2.0.0,>=1.29.0->brewblox-ctl) (0.6.2)
Requirement already satisfied: websocket-client<1,>=0.32.0 in ./.local/lib/python3.7/site-packages (from docker-compose<2.0.0,>=1.29.0->brewblox-ctl) (0.59.0)
Requirement already satisfied: texttable<2,>=0.9.0 in ./.local/lib/python3.7/site-packages (from docker-compose<2.0.0,>=1.29.0->brewblox-ctl) (1.6.3)
Requirement already satisfied: distro<2,>=1.5.0 in ./.local/lib/python3.7/site-packages (from docker-compose<2.0.0,>=1.29.0->brewblox-ctl) (1.5.0)
Requirement already satisfied: jsonschema<4,>=2.5.1 in ./.local/lib/python3.7/site-packages (from docker-compose<2.0.0,>=1.29.0->brewblox-ctl) (3.2.0)
Requirement already satisfied: cached-property<2,>=1.2.0; python_version < “3.8” in ./.local/lib/python3.7/site-packages (from docker-compose<2.0.0,>=1.29.0->brewblox-ctl) (1.5.2)
Requirement already satisfied: dockerpty<1,>=0.4.1 in ./.local/lib/python3.7/site-packages (from docker-compose<2.0.0,>=1.29.0->brewblox-ctl) (0.4.1)
Requirement already satisfied: ifaddr>=0.1.7 in ./.local/lib/python3.7/site-packages (from zeroconf<0.29.0,>=0.28.8->brewblox-ctl) (0.1.7)
Requirement already satisfied: importlib-metadata; python_version < “3.8” in ./.local/lib/python3.7/site-packages (from jsonschema<4,>=2.5.1->docker-compose<2.0.0,>=1.29.0->brewblox-ctl) (4.3.1)
Requirement already satisfied: pyrsistent>=0.14.0 in ./.local/lib/python3.7/site-packages (from jsonschema<4,>=2.5.1->docker-compose<2.0.0,>=1.29.0->brewblox-ctl) (0.17.3)
Requirement already satisfied: attrs>=17.4.0 in ./.local/lib/python3.7/site-packages (from jsonschema<4,>=2.5.1->docker-compose<2.0.0,>=1.29.0->brewblox-ctl) (21.2.0)
Requirement already satisfied: typing-extensions>=3.6.4; python_version < “3.8” in ./.local/lib/python3.7/site-packages (from importlib-metadata; python_version < “3.8”->jsonschema<4,>=2.5.1->docker-compose<2.0.0,>=1.29.0->brewblox-ctl) (3.10.0.0)
Requirement already satisfied: zipp>=0.5 in ./.local/lib/python3.7/site-packages (from importlib-metadata; python_version < “3.8”->jsonschema<4,>=2.5.1->docker-compose<2.0.0,>=1.29.0->brewblox-ctl) (3.4.1)
pi@raspberrypi:~ $ exec $SHELL --login
pi@raspberrypi:~ $ brewblox-ctl install
Command is about to: Create Brewblox directory; install system dependencies; reboot.
Do you want to continue? (yes, no, verbose, dry-run) [press ENTER for default value ‘yes’]yes
Do you want to install with default settings? [Press ENTER for default value ‘yes’]
INFO Docker is already installed.
INFO pi already belongs to the docker group.
The /home/pi/brewblox
directory already exists. Do you want to continue and erase the current contents? [Press ENTER for default value ‘yes’]
A reboot is required after installation. Do you want to be prompted before that happens? [Press ENTER for default value ‘yes’]
INFO Installing apt packages…
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Hit:3 https://download.docker.com/linux/raspbian buster InRelease
Reading package lists… Done
Building dependency tree
Reading state information… Done
All packages are up to date.
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following package was automatically installed and is no longer required:
python-colorzero
Use ‘sudo apt autoremove’ to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists… Done
Building dependency tree
Reading state information… Done
avahi-daemon is already the newest version (0.7-4+deb10u1).
curl is already the newest version (7.64.0-4+deb10u2).
libffi-dev is already the newest version (3.2.1-9).
net-tools is already the newest version (1.60+git20180626.aebd88e-1).
libssl-dev is already the newest version (1.1.1d-0+deb10u6+rpt1).
The following package was automatically installed and is no longer required:
python-colorzero
Use ‘sudo apt autoremove’ to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
INFO Skipped: docker install.
INFO Enabling IPv6 support in Docker…
INFO Using Docker config file /etc/docker/daemon.json
INFO Skipped: adding pi to ‘docker’ group.
/home/pi/brewblox
is not a Brewblox directory.
After rebooting
pi@raspberrypi:~/brewblox $ brewblox-ctl setup
Usage: brewblox-ctl [OPTIONS] COMMAND [ARGS]…
Try ‘brewblox-ctl --help’ for help.
Error: No such command ‘setup’.
Many commands only work if your current directory is a Brewblox directory.
pi@raspberrypi:~/brewblox $