Reputation: 3062
After installing Anaconda or Miniconda and trying to create first environment, I'm getting the following error:
PackageNotFoundError: Package not found: '' Package missing in current osx-64 channels: - package_name
Upvotes: 1
Views: 3302
Reputation: 3062
It turns out that when you first run conda config
(.condarc is created) by default it contains
create_default_packages:
- tensorflow
- PACKAGE_NAME
channels:
- conda-forge
- defaults
So it tries to fetch a package called PACKAGE_NAME which surprisingly does not exist.
Simply removing - PACKAGE_NAME
line from .condarc fixes the issue.
Upvotes: 1