podman-compose icon indicating copy to clipboard operation
podman-compose copied to clipboard

Manual Install Fails

Open scirelli opened this issue 1 year ago • 0 comments

Describe the bug Following the manual instructions then attempting to run podman-compose --version fails with missing dependencies.

$ podman-compose --version
Traceback (most recent call last):
  File "/usr/local/bin/podman-compose", line 39, in <module>
    import yaml

All dependencies from requirements.txt need to be installed.

python3 -m pip install pyyaml python-dotenv

To Reproduce Steps to reproduce the behavior:

  1. Follow the steps from the manual install section.
  2. Try to run podman-compose --version

Expected behavior Expected podman-compose version to be displayed.

Actual behavior Crash with missing dependency.

Output

$ podman-compose --version
Traceback (most recent call last):
  File "/usr/local/bin/podman-compose", line 39, in <module>
    import yaml
...

Environment:

  • OS: Linux
  • podman version: lastest
  • podman compose version: (git hex) latest

Fix

  • I was able to get podman-compose to run once installed missing dependencies.
python3 -m pip install pyyaml python-dotenv

Then running

$ podman-compose --version
podman-compose version 1.3.0
podman version 4.3.1

scirelli avatar Jan 09 '25 22:01 scirelli