In the command line it's working well:
$ . /home/gk/venv36/bin/activate
The same command in the script file is not working. The file has 744 modes. All echo-commands before and after
. /home/gk/venv36/bin/activateare working.
Is something wrong?
Here is the script file:
$ #! /bin/bash $ echo "Jupyter notebook running..." $ . /home/gk/venv36/bin/activate $ jupyter notebook