conda-forge / miniforge

A conda-forge distribution.
https://conda-forge.org/miniforge
Other
5.75k stars 305 forks source link

Cannot install in a location different from home directory? #560

Open julia-luz opened 4 months ago

julia-luz commented 4 months ago

Solution to issue cannot be found in the documentation.

Issue

Hello! I'm trying to install in a directory that isn't home.

Due to a naming issue (my home directory has a different name from my username), it seems like the installation fails because it still tries to create a .conda file in my home directory.

`

Miniforge3 will now be installed into this location: /home/myusername/miniforge3

  • Press ENTER to confirm the location
  • Press CTRL-C to abort the installation
  • Or specify a different location below

[/home/myusername/miniforge3] >>> /array1/myusername/miniforge3 PREFIX=/array1/myusername/miniforge3 Unpacking payload ...`

It begins extracting everything as usual, but it suddenly fails with:

mkdir: cannot create directory ‘/home/myusername/.conda’: No such file or directory I don't really understand why this is an issue if I'm not installing in the home directory?

Installed packages

None

Environment info

None