Change anaconda ipython main directory

后端 未结 8 1992
误落风尘
误落风尘 2020-12-24 03:07

I\'ve jus installed anaconda and I see that it wants me to save my documents in my documents/python scripts

But I\'d rather save everything in my dropbox for easy ba

8条回答
  •  无人及你
    2020-12-24 03:34

    Not sure if this is helpful, but as of 11/2/15, Anaconda 2.4.0 moved to Jupyter, which has a different method for changing the default directory

    In the command line type:

    jupyter notebook --generate-config
    

    Which will create a file named jupyter_notebook_config.py in your jupyter directory (In Windows Users/USERNAME/.jupyter). To change the default directory on startup, locate the line:

    c.NotebookApp.notebook_dir = u''
    

    And put your preferred directory in the quotes.

提交回复
热议问题