方法二:修改默认打开位置,适合每次在固定目录运行jupyter notebook 这种方法适合每次在固定目录运行jupyter notebook。 首先,在命令行中输入命令:jupyter notebook --generate-config生成配置文件,命令执行后,会显示配置文件的路径。 C:\Users\Administrator>jupyter notebook --generate-config Writing default config to:...
这种方法适合每次在固定目录运行jupyter notebook。 首先,在命令行中输入命令:jupyter notebook --generate-config生成配置文件,命令执行后,会显示配置文件的路径。 C:\Users\Administrator>jupyter notebook --generate-config Writing default config to: C:\Users\Administrator\.jupyter\jupyter_notebook_config.py 1...
出现上面这个应该就是Jupyter Notebook安装好了,下面来修改默认目录。 首先cmd窗口输入: jupyter notebook --generate-config 会返回你的设置文件位置,如下图: 这里jupyter_notebook_config.py就是我们要打开的设置文件了。 打开文件,搜索:c.NotebookApp.notebook_dir,定位到设置项,将内容更...
1、改目录 常见的做法就是修改配置文件的默认目录,如下: 在cmd中输入jupyter notebook --generate-config找到其配置文件,在ipython_notebook_config.py中,有如下一句 # The directorytousefornotebooksandkernels. # c.NotebookApp.notebook_dir = u'' 该句就是用来指定其工作空间的,例如,默认的工作空间是:用...
在使用 jupyter notebook 的时候,默认是在C盘,有时候我们希望自定义目录。 解决方案 在cmd中输入 jupyter notebook --generate-config ,输入 y 得到 jupyter 配置文件的目录 jupyter配置文件路径查看 进入相应目录,使用文本编辑软件打开 jupyter_notebook_config.py 文件 找到以下位置(c.NotebookApp.notebook_dir),...
打开Anaconda Prompt 输入命令jupyter notebook --generate-config,此命令会在C:\Users\你的用户名\.jupyter文件夹下生成一个jupyter_notebook_config.py文件 打开生成的.py文件,找到#c.NotebookApp.notebook_dir = '',将其修改为c,NotebookApp.notebook_dir = '你想要默认打开的文件夹'(注意一定要去掉前面的...
conda activate jupyter-env 然后生成一个配置文件 jupyter notebook --generate-config 用everything找到地址 进去改写我的地址,用ctrl+f输入定位到我的地址,删掉#,加入我的现在正真想要的地址 我还出了一次错误,说无法打开,才知道前面要加个r,代表原生字符,要不然\\就转义了 ...
我的电脑配置: 64位Windows8, Anaconda3, Python3.6 症状: 点击Jupyter Notebook快捷方式后, 在浏览器中显示的目录是C:\Users\你的用户名. 目的: 让Jupyter Notebook打开我自己建的目录. 方法: 打开anaconda powershell prompt 通过cd命令,到达指定目录 ...
Jupyter Notebook为交互式计算提供了一个命令shell作为Web应用程序。该工具可以与多种语言一起使用,包括...