Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

No module named yaml // but yaml is installed #1

Open
dfranje opened this issue Jan 19, 2022 · 5 comments
Open

No module named yaml // but yaml is installed #1

dfranje opened this issue Jan 19, 2022 · 5 comments

Comments

@dfranje
Copy link

dfranje commented Jan 19, 2022

Hello,

cant generate playlist , it says that yaml is not present.

please advide

root@Debian-1011-buster-64-minimal /opt/tv-media/kids # chmod +x generate-playlist.py
root@Debian-1011-buster-64-minimal /opt/tv-media/kids # ./generate-playlist.py -d 2022-01-19 - 2022-10-31 -t 24:00:00 -i /opt/tv-media/kids -o /opt/playlists/channel-001
Traceback (most recent call last):
File "./generate-playlist.py", line 13, in
import yaml
ModuleNotFoundError: No module named 'yaml'
root@Debian-1011-buster-64-minimal /opt/tv-media/kids #

@jb-alvarado
Copy link
Member

You have to install the python module: PyYAML

@dfranje
Copy link
Author

dfranje commented Jan 20, 2022

printscrn

@jb-alvarado
Copy link
Member

The generator uses python3, but you installed pyyaml for python2.

@dfranje
Copy link
Author

dfranje commented Jan 20, 2022

print2

@jb-alvarado
Copy link
Member

The code is not so error resistant. You need to set a existing filler clip in your config.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants