image-quality-assessment icon indicating copy to clipboard operation
image-quality-assessment copied to clipboard

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

Open Asomey opened this issue 2 years ago • 1 comments

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 avatar Jan 01 '22 15:01 Asomey

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

Asomey avatar Jan 08 '22 13:01 Asomey