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
environment.yml and condarc.yml are ok, all dependencies are installed and the environment test-environment is created correctly, but in the next step (Flake8), the activated environment is base and not test-environment if the os is windows and the shell is bash or sh. For example with linux/bash or windows/pwsh all works as expected.
If can be useful, this is .bash_profile on windows:
Run cat $HOME/.bash_profile
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
eval "$('/C/Miniconda/Scripts/conda.exe' 'shell.bash' 'hook')"
# <<< conda initialize <<<
I'm doing some experiments with
setup-miniconda
, but I have a problem with the following code:environment.yml
andcondarc.yml
are ok, all dependencies are installed and the environmenttest-environment
is created correctly, but in the next step (Flake8), the activated environment is base and nottest-environment
if the os is windows and the shell is bash or sh. For example with linux/bash or windows/pwsh all works as expected.If can be useful, this is
.bash_profile
on windows:As a quick hack, if I add the following step:
the Flake8 step works.
Is that a normal behaviour? Maybe a bug?
Thanks.
The text was updated successfully, but these errors were encountered: