anaconda: command not found
See original GitHub issueI am trying to use the anaconda upload
command to upload my conda package to my channel. Even though I install anaconda-client
, when I try to call anaconda
I get command not found
. A simplified yaml is below.
name: Upload Anaconda Cloud
on: workflow_dispatch
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-activate-base: true
activate-environment: ""
- name: Install dependencies
run: conda install anaconda-client
- name: test anaconda
run: anaconda -t ${{ secrets.ANACONDA_TOKEN }} upload condaDist/noarch/mypackage*
Here is the error that I get.
Run anaconda upload condaDist/noarch/mypackage*
/home/runner/work/_temp/e7279193-c644-4b95-9764-e6e2c988ef20.sh: line 1: anaconda: command not found
Does anyone know why I’m not able to use anaconda-client even though it has been installed?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
python - Conda command not found - Stack Overflow
I've installed Miniconda and have added the environment variable export PATH="/home/username/miniconda3/bin:$PATH" to my .bashrc and .bash_profile but still can ...
Read more >How to Fix Conda command not found error in ... - MonoVM
How to fix Conda command not found error in Windows? ... Search for 'Edit the system environment variables and click on 'Environment Variables..'....
Read more >Conda Command not Found - Linux Hint
If you face the 'conda command not found' error, the first and most common solution is to ensure you have conda installed. You...
Read more >Troubleshooting — Anaconda documentation
If start menu shortcuts are missing, Microsoft recommends rebooting your computer or restarting Windows Explorer. If that doesn't work, clear $PYTHONPATH and re ......
Read more >How to fix the “conda: command not found” error
The “conda: command not found” problem is prompted when the Anaconda software is not installed on the system or when the path variable...
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
I realized that the
shell: bash -l {0}
line actually worked and the error I was getting was just due to an improper call toanaconda upload
.Thanks for the help!
@romainsacchi , at this point I don’t really remember. I think in my case it was something simple like the path to the file not being correct.