When I run “brainframe update”, it gives me the following error,
BrainFrame:v0.29.6 detected under your installation location, we will replace it with BrainFrame:v0.29.6.3
Downloading docker-compose.yml…
curl -o /usr/local/share/brainframe/docker-compose.yml --fail --location https://aotu.ai/releases/brainframe/v0.29.6.3/docker-compose.yml
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6116 100 6116 0 0 10581 0 --:–:-- --:–:-- --:–:-- 10581
docker-compose --file /usr/local/share/brainframe/docker-compose.yml --file /usr/local/share/brainframe/docker-compose.override.yml --env-file /usr/local/share/brainframe/.env pull
Traceback (most recent call last):
File “/usr/local/bin/docker-compose”, line 8, in
sys.exit(main())
File “/usr/local/lib/python3.8/dist-packages/compose/cli/main.py”, line 81, in main
command_func()
File “/usr/local/lib/python3.8/dist-packages/compose/cli/main.py”, line 200, in perform_command
project = project_from_options(‘.’, options)
File “/usr/local/lib/python3.8/dist-packages/compose/cli/command.py”, line 60, in project_from_options
return get_project(
File “/usr/local/lib/python3.8/dist-packages/compose/cli/command.py”, line 152, in get_project
client = get_client(
File “/usr/local/lib/python3.8/dist-packages/compose/cli/docker_client.py”, line 41, in get_client
client = docker_client(
File “/usr/local/lib/python3.8/dist-packages/compose/cli/docker_client.py”, line 124, in docker_client
kwargs = kwargs_from_env(environment=environment, ssl_version=tls_version)
TypeError: kwargs_from_env() got an unexpected keyword argument ‘ssl_version’
The error is due to an incompatibility of the version of docker-compose.
Steps to Resolve the Issue
- Update to docker-compose 1.29.2
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && sudo chmod +x /usr/local/bin/docker-compose
- Verify the Installation
docker-compose --version && docker --version
- Retry the BrainFrame Update
‘brainframe update --force’