About the anaconda installation location and current directory

Asked 5 months ago, Updated 5 months ago, 14 views

About anaconda

I installed anaconda3 in drive D.
Launch anaconda prompt in the Start menu and click
(base)C UUsers ユーザUsername>
is described as

I wonder if this description in anaconda prompt has nothing to do with where anaconda is installed.
Is it correct to understand that anaconda is installed in drive D, but that the directory you are booting to is in drive C?

I would appreciate it if you could let me know.
Thank you for your cooperation.


2022-09-30 12:09

2 Answers

The C UUsers ユーザUsername> displayed is only the Working directory and is different from where it was installed.

2022-09-30 12:09

  • Is it irrelevant to where anaconda is installed with this notation in anaconda prompt?
  • anaconda is installed in drive D, but is it correct to understand that the directory you are booting to is in drive C?

I think they are all correct.
In detail, it should be "the home directory of the user you want to run."

If you right-click anaconda prompt in the start menu, right-click to open the other file location, and right-click to display properties, the Work Folder should be %HOMEPATH%.

If you change the destination drive or folder (or if the installation is "all users"?), you probably won't change the %HOMEPATH% shortcut.

"If you want to change it, you can change the ""Work Folder"" of those shortcut properties."

For example, these articles explain it.
Change the Anaconda Prompt Work Folder
Anaconda/Python:Change Anaconda Prompt User Path

Other things like jupyter notebook, jupyter lab, etc. will be changed in another way.

[Change Jupiter notebook initial folder] 4 check points when not possible
Change the Jupiter Lab Work Folder

The configuration file name seems to have changed since jupyter lab 3.0.0.

How to Specify a Launch Browser for JupiterLab 3.0

2022-09-30 12:09

If you have any answers or tips

© 2023 OneMinuteCode. All rights reserved.