Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small prerequsite for Ubuntu 20.04 #2

Open
StianOby opened this issue Aug 13, 2021 · 3 comments
Open

Small prerequsite for Ubuntu 20.04 #2

StianOby opened this issue Aug 13, 2021 · 3 comments

Comments

@StianOby
Copy link
Contributor

After much trial and error I figured out that one deb package must be installed on Ubuntu 20.04 LTS for build.sh to run properly:

sudo apt install python-yaml

Without this package installed, the yaml file will not be generated automatically, but the first step of the script will fail. If there is another yaml file already in the folder (e.g. because you have tried editing manually) the script will nevertheless continue, thus "masking" the error. Deleting that docker-compose.yaml file before running the script again will make the script stop on the "No module named yaml" error.

@StianOby StianOby changed the title Mall prerequsite for Ubuntu 20.04 Small prerequsite for Ubuntu 20.04 Aug 13, 2021
@shayaantx
Copy link
Owner

if you want you can put up a PR updating the readme and/or update the shell script making sure required python binaries are installed (and error if they are not)

not sure if I'll have time this weekend, if I do - I'll do above - unless you wanna do it.

@StianOby
Copy link
Contributor Author

StianOby commented Aug 13, 2021

Added a note in the README (#3), as I was unsure how to best add it to the build script.

@shayaantx
Copy link
Owner

We can do something with pydoc and grep the modules for ones we care about, or we can use pip list (something like that to make sure required modules are installed)

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

No branches or pull requests

2 participants