Anaconda / Python:更改 Anaconda 提示用户路径

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/48304305/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-19 18:38:19  来源:igfitidea点击:

Anaconda / Python: Change Anaconda Prompt User Path

pythonanacondafilepathprompt

提问by PineNuts0

I want to change my Anaconda Prompt User file path. Currently it is as follows:

我想更改我的 Anaconda Prompt User 文件路径。目前情况如下:

enter image description here

在此处输入图片说明

I want it to change to: C:\Users\u354590

我希望它更改为:C:\Users\u354590

How do I do this?

我该怎么做呢?

The current version of anaconda I have is:

我拥有的 anaconda 的当前版本是:

Python 3.6.3 |Anaconda, Inc.| (default, Oct 15 2017, 03:27:45) [MSC v.1900 64 bit (AMD64)]

回答by Jonathon McMurray

Go to Start and search for "Anaconda Prompt" - right click this and choose "Open File Location", which will open a folder of shortcuts. Right click the "Anaconda Prompt" shortcut, choose "Properties" and you can adjust the starting dir in the "Start in" box.

转到开始并搜索“Anaconda Prompt” - 右键单击​​它并选择“打开文件位置”,这将打开一个快捷方式文件夹。右键单击“Anaconda Prompt”快捷方式,选择“属性”,您可以在“开始于”框中调整起始目录。

回答by BenSeedGangMu

If you want to access folder you specified using Anaconda Prompt, try typing

如果要访问使用 Anaconda Prompt 指定的文件夹,请尝试键入

cd C:\Users\u354590