notebook: Couldn't find program: 'bash'
%%bash cd models/research/ protoc object_detection/protos/*.proto --python_out=.
%%bash` cd models/research pip install .
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)
Regarding
%%bash
, since this is windows, you might need to adjust your PATH to include the directory in whichbash
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 launchingjupyter notebook
from is the same as the environment in which you installedtensorflow
andobject_detection
in. From the above, try runningjupyter notebook
within thetensorflow1
env.Thanks for the update @rupalandge - closing.
add git init command at your project file this may work