无法从Ubuntu DSVM访问Jupyter Notebook [英] Cannot access Jupyter notebook from Ubuntu DSVM

查看:94
本文介绍了无法从Ubuntu DSVM访问Jupyter Notebook的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我已配置了Ubuntu VM,并能够通过SSH进入服务器.但是,https://my-ip:8000不会为我加载Jupyter笔记本.另外我什至无法安装Jupyter,因为没有找到conda命令.有人可以告诉我吗

I have provisioned an Ubuntu VM and have been able to SSH into the server. However, https://my-ip:8000 doesn't load Jupyter notebook for me. Also I am unable to even install Jupyter because none of the conda commands are found. Can someone please tell me how to get Jupyter working either with the browser or by installing from anaconda?

推荐答案

nabsabs,

Hi nabsabs,

您可以通过遵循 链接.

You can install Anaconda by following this link.

在该链接中,您需要获取sh脚本的下载链接并运行它.我在下面添加了这些步骤.

In that link you need to get the download link for the sh script and run it. I have added those steps below.

cd /tmp
wget https://repo.anaconda.com/archive/Anaconda3-5.3.1-Linux-x86_64.sh
bash Anaconda3-5.3.1-Linux-x86_64.sh

一旦运行了这些命令,就应该安装anaconda.

Once you run those commands, That should install anaconda.

系统将要求您接受许可和一些问题.

You will be asked to accept the license and couple of questions.

Do you wish the installer to initialize Anaconda3
in your /home/jakaruna/.bashrc ? [yes|no]
[no] >>>
You may wish to edit your /home/jakaruna/.bashrc to setup Anaconda3:

source /home/jakaruna/anaconda3/etc/profile.d/conda.sh

Thank you for installing Anaconda3!

在安装过程中,您可能会遇到以下问题,该问题会将conda命令行添加到了您的路径中.
您可以回答是".使其自动添加.
就我而言,我可以运行"source/home/jakaruna/anaconda3/etc/profile.d/conda.sh"加载conda CLI或我可以将该行添加到主目录下的bashrc文件中以自动加载. 之后,conda命令将起作用.
试试这个,让我知道.

During the installation, you may get this question which adds the conda command line to your path. 
You can answer "yes" to get it added automatically. 
In my case,  i can run "source /home/jakaruna/anaconda3/etc/profile.d/conda.sh" to load the conda CLI or i can add that line in my bashrc file under my home directory to load that automatically.
After that conda commands will work.
Try this and let me know.


这篇关于无法从Ubuntu DSVM访问Jupyter Notebook的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆