You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, if we use the above, the installer tries to install to ${USERPROFILE}\$my_package. I.e. it is not substituting %USERPROFILE% and the leading $ is also still present from ${NAME}.
default_prefix_all_users has a similar issue.
Tested on constructor 3.5 installed via conda-forge and master cloned from here.
Conda Info
active environment : base
active env location : C:\Anaconda3\envs\constructor
shell level : 5
user config file : C:\Users\robbm\.condarc
populated config files : C:\Users\robbm\.condarc
conda version : 23.11.0
conda-build version : not installed
python version : 3.11.7.final.0
solver : libmamba (default)
virtual packages : __archspec=1=x86_64
__conda=23.11.0=0
__cuda=12.3=0
__win=0=0
base environment : C:\Anaconda3\envs\constructor (writable)
conda av data dir : C:\Anaconda3\envs\constructor\etc\conda
conda av metadata url : None
channel URLs : https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
https://conda.anaconda.org/conda-forge/win-64
https://conda.anaconda.org/conda-forge/noarch
package cache : C:\Anaconda3\envs\constructor\pkgs
C:\Users\robbm\.conda\pkgs
C:\Users\robbm\AppData\Local\conda\conda\pkgs
envs directories : C:\Anaconda3\envs\constructor\envs
C:\Users\robbm\.conda\envs
C:\Users\robbm\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/23.11.0 requests/2.31.0 CPython/3.11.7 Windows/10 Windows/10.0.19045 solver/libmamba conda-libmamba-solver/23.12.0 libmambapy/1.5.6
administrator : False
netrc file : None
offline mode : False
I'm not sure string interpolation is supposed to work in those keys. The documentation might be just using that syntax to say "the value of your user profile directory followed by the value of the name of the installer", but that doesn't mean that you can use those variables for other constructions.
Checklist
What happened?
In the documentation, on Windows one is supposed to be able to suggest a package install directory via
default_prefix
, with the default being:However, if we use the above, the installer tries to install to
${USERPROFILE}\$my_package
. I.e. it is not substituting%USERPROFILE%
and the leading$
is also still present from${NAME}
.default_prefix_all_users
has a similar issue.Tested on
constructor 3.5
installed viaconda-forge
andmaster
cloned from here.Conda Info
Conda Config
Conda list
Additional Context
No response
The text was updated successfully, but these errors were encountered: