Having troubles activating an environment
See original GitHub issueI’m having trouble simply activating the base
environment. Here is a snippet from my recipe:
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
auto-activate-base: true
activate-environment: base
- run: conda info
- run: conda env update -n base --file environment.yaml
I’m getting
Error: To activate "base" environment use the "auto-activate-base" action input!
How can I improve it to actually work?
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
I'm having trouble activating virtual environment using anaconda
I have installed anaconda 4.11.0 and I'm trying to activate my venv using the conda activate base but it shows me this error...
Read more >terminal not activating the conda environment : PY-23417
I have tried the Early Access Program (EAP) version of PyCharm, but the terminal still does not automatically load the conda env (the...
Read more >Problem with Activating Conda Environment - Getting Started
Hi everyone! I've been using Anaconda for a few months now, but I randomly started running into this problem a couple days ago....
Read more >Virtual Environments - Problem Solving with Python
View a list of your virtual environments using the command conda info --envs or conda env list . > conda activate env_name (env_name)...
Read more >Activating a virtual environment | Python Automation Cookbook
When dealing with multiple projects on the same computer, as they can have different dependencies that clash at some point. For example, two...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tdegeus because of how github actions work, you need to specify extra arguments for the actions as described in the README for the different shells.
If you do not use
shell: bash -l {0}
assuming you are using bash, then the action will not be able to activate the environments correctly.This is a knowns limitation, you can read more here
Great @goanpeca , thanks for the help and for the PR!!
If I may give a personal experience on the readme while we close this question:
test
, I don’t think I found that anywhere.