Hi,
I managed to install Docker and build and run containers but I would also like to install Docker Compose on my Volumio image. There are no issues when installing libffi-dev
, libssl-dev
, python3-dev
, python3
and python3-pip
packages. But installing docker-compose
with pip3
throws an error:
sudo pip3 install docker-compose
Downloading/unpacking docker-compose
Downloading docker_compose-1.29.2-py2.py3-none-any.whl (114kB): 114kB downloaded
Downloading/unpacking requests>=2.20.0,<3 (from docker-compose)
Downloading requests-2.26.0-py2.py3-none-any.whl (62kB): 62kB downloaded
Cleaning up…
Exception:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/pkg_resources.py”, line 2595, in _dep_map
return self.__dep_map
File “/usr/lib/python3/dist-packages/pkg_resources.py”, line 2457, in getattr
raise AttributeError(attr)
AttributeError: _DistInfoDistribution__dep_mapDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/pip/basecommand.py”, line 122, in main
status = self.run(options, args)
File “/usr/lib/python3/dist-packages/pip/commands/install.py”, line 290, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File “/usr/lib/python3/dist-packages/pip/req.py”, line 1266, in prepare_files
req_to_install.extras):
File “/usr/lib/python3/dist-packages/pkg_resources.py”, line 2401, in requires
dm = self._dep_map
File “/usr/lib/python3/dist-packages/pkg_resources.py”, line 2597, in _dep_map
self.__dep_map = self._compute_dependencies()
File “/usr/lib/python3/dist-packages/pkg_resources.py”, line 2621, in _compute_dependencies
parsed = next(parse_requirements(distvers))
File “/usr/lib/python3/dist-packages/pkg_resources.py”, line 2721, in parse_requirements
“version spec”)
File “/usr/lib/python3/dist-packages/pkg_resources.py”, line 2686, in scan_list
raise ValueError(msg, line, “at”, line[p:])
ValueError: (‘Expected version spec in’, ‘charset-normalizer ~=2.0.0’, ‘at’, ’ ~=2.0.0’)
Has anyone managed to install Docker Compose on Volumio somehow? Would it be a better approach to start from Raspbian and run Volumio in a Docker container? I have found a popular image jbonjean/volumio but it is for x86, not ARMv7.
Volumio Information
Volumio Version: 2.907
Hardware: Raspberry Pi 3 Model B Rev 1.2
DAC: HiFiBerry AMP2