notebook: Couldn't find program: 'bash'

%%bash cd models/research/ protoc object_detection/protos/*.proto --python_out=.

%%bash` cd models/research pip install .

image

I am running jupitor note book for “tensorflow object detection API” and got the error "Couldn’t find program: ‘bash’ ".

I have installed jupitor notebook in anaconda as well as outside anconda env, but error still there. Also hit with another error "ModuleNotFoundError: No module named ‘tensorflow’ ". Could anybody please help.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 20 (9 by maintainers)

Most upvoted comments

Regarding %%bash, since this is windows, you might need to adjust your PATH to include the directory in which bash is located. Are you using GIT bash?

If you don’t have a bash program installed, you might find %%cmd more helpful.

Regarding the module not found issues, ensure that the environment in which you’re launching jupyter notebook from is the same as the environment in which you installed tensorflow and object_detection in. From the above, try running jupyter notebook within the tensorflow1 env.

Thanks for the update @rupalandge - closing.

add git init command at your project file this may work