Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conda release error 1 #102

Open
dsm-72 opened this issue May 30, 2022 · 0 comments
Open

Conda release error 1 #102

dsm-72 opened this issue May 30, 2022 · 0 comments

Comments

@dsm-72
Copy link

dsm-72 commented May 30, 2022

Ran make release. It worked for pypi but not anaconda despite conda being installed.

Traceback (most recent call last):
  File "/Users/USER/miniforge3/bin/fastrelease_conda_package", line 8, in <module>
    sys.exit(fastrelease_conda_package())
  File "/Users/USER/miniforge3/lib/python3.9/site-packages/fastcore/script.py", line 113, in _f
    tfunc(**merge(args, args_from_prog(func, xtra)))
  File "/Users/USER/miniforge3/lib/python3.9/site-packages/fastrelease/conda.py", line 168, in fastrelease_conda_package
    return anaconda_upload(lib_path, cfg.version)
  File "/Users/USER/miniforge3/lib/python3.9/site-packages/fastrelease/conda.py", line 145, in anaconda_upload
    return run(f'anaconda {token} upload {user} {conda_output_path(name,version)} --skip-existing', stderr=True)
  File "/Users/USER/miniforge3/lib/python3.9/site-packages/fastcore/xtras.py", line 254, in run
    res = subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
  File "/Users/USER/miniforge3/lib/python3.9/subprocess.py", line 505, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/Users/USER/miniforge3/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/Users/USER/miniforge3/lib/python3.9/subprocess.py", line 1821, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'anaconda'
make: *** [conda_release] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant