I am unable to launch jupyter notebook after configuring jupyter to use it through AWS EC2.
[ec2-user@ip-123-45-67 ~]$ jupyter notebook
-bash: jupyter: command not found
Typing in the command "which jupyter" and "which python" prints out this:
[ec2-user@ip-123-45-67 ~]$ which jupyter
/usr/bin/which: no jupyter in (/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/aws/bin:/home/ec2-user/.local/bin:/home/ec2-user/bin)
[ec2-user@ip-123-45-67 ~]$ which python
/usr/bin/python
This is what is in my jupyter notebook config file:
c = get_config()
c.NotebookApp.certfile = u'/home/ubuntu/certs/mycert.pem'
c.NotebookApp.ip = '*'
c.NotebookApp.open_browser = False
c.NotebookApp.port = 8888
This simply means that jupyter
executable is not present on your machine with which you are trying to run the script.
You should try installing jupyter first.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.