nbdev_template icon indicating copy to clipboard operation
nbdev_template copied to clipboard

Conda release error 1

Open dsm-72 opened this issue 3 years ago • 0 comments

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

dsm-72 avatar May 30 '22 18:05 dsm-72