这是indexloc提供的服务,不要输入任何密码
Skip to content

conda env create gives confusing message if environment file does not exist #5681

@ijstokes

Description

@ijstokes

Try executing conda env create -f does_not_exist.txt. The output I get is:

Using Anaconda API: https://api.anaconda.org

SpecNotFound: Can't process without a name

That is not super useful or meaningful. I'd suggest it should say something obvious, like:

File not found: does_not_exist.txt

Metadata

Metadata

Assignees

Labels

good first issuegreat for new contributors, code change is envisioned to be trivial/relatively straight-forwardlocked[bot] locked due to inactivityseverity::3major; broken functionality with a workaroundsource::anacondacreated by members of Anaconda, Inc.type::bugdescribes erroneous operation, use severity::* to classify the type

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions