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

./train-local: line 34: jq: command not found #103

Open
Asomey opened this issue Jan 1, 2022 · 1 comment
Open

./train-local: line 34: jq: command not found #103

Asomey opened this issue Jan 1, 2022 · 1 comment

Comments

@Asomey
Copy link

Asomey commented Jan 1, 2022

i want to train locally on my cpu. after l ran the script,l got this error:
"""
./train-local: line 34: jq: command not found
"docker run" requires at least 1 argument.
See 'docker run --help'.
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
Run a command in a new container
"""
that means jq is not found.
l try to run "sudo apt-get install jq" in wsl(ubuntu18.04), but it will show this error:
"""
Reading package lists... Done
Building dependency tree
Reading state information... Done
W: Not using locking for read only lock file /var/lib/dpkg/lock-frontend
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: Unable to locate package jq
"""
has someone meet the same problems in installing jq?
Thanks in advance!

@Asomey
Copy link
Author

Asomey commented Jan 8, 2022

ok l already handle this question.
the reason is the apt's version is low.
so you can run "apt-get install update" to deal with the question

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

1 participant