Skip to content

Conda release error 1 #102

@dsm-72

Description

@dsm-72

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions