podman-compose
podman-compose copied to clipboard
Manual Install Fails
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:
- Follow the steps from the manual install section.
- 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