bbo_challenge_starter_kit icon indicating copy to clipboard operation
bbo_challenge_starter_kit copied to clipboard

"no bayesmark-init" when trying to run run_local.sh

Open emsal0 opened this issue 4 years ago • 2 comments

Using python 3.8, ran python3 -m pip install environment.txt just before running

On Arch linux:

em@toaster:~/projects/bbo_challenge_starter_kit|master 
⇒  uname -r
5.7.12-arch1-1

Full output log:

em@toaster:~/projects/bbo_challenge_starter_kit|master 
⇒  ./run_local.sh example_submissions/random-search 3
+ set -o pipefail
+ N_STEP=15
+ N_BATCH=1
+ CODE_DIR=example_submissions/random-search
+ N_REPEAT=3
+ DB_ROOT=./output
++ date +%Y%m%d_%H%M%S
+ DBID=run_20200809_144852
++ basename example_submissions/random-search
+ OPT=random-search
++ dirname example_submissions/random-search
+ OPT_ROOT=example_submissions
+ which bayesmark-init
which: no bayesmark-init in (/home/em/.rvm/gems/ruby-1.8.7-head/bin:/home/em/.rvm/gems/ruby-1.8.7-head@global/bin:/home/em/.rvm/rubies/ruby-1.8.7-head/bin:/opt/google-cloud-sdk/bin:/opt/google-cloud-sdk/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/opt/cuda/bin:/usr/lib/emscripten:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/em/.rvm/bin:/home/em/.fzf/bin:/opt/cuda/bin:/usr/lib/emscripten:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)

(The bottom thing is just my $PATH)

emsal0 avatar Aug 09 '20 21:08 emsal0

Any one here?I have the same problem,maybe caused by multiple version Pythons?

SupUnicorn avatar Aug 27 '20 05:08 SupUnicorn

That is most likely a path issue. It looks like it was installed using python3 but then maybe the shell script was running the python 2 environment?

Try creating a fresh virtual environment (in python 3) and then doing the pip install.

rdturnermtl avatar Sep 01 '20 01:09 rdturnermtl