Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

./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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant