Use CONDA update CONDA to update CONDA. If you encounter a packagenotinstallederror problem, record it here!
Problem description
conda update –prefix /Users/omeiko/opt/miniconda3 anaconda
PackageNotInstalledError: Package is not installed in prefix.
prefix: /Users/omeiko/opt/miniconda3
package name: anaconda
When you run CONDA update, you will be prompted whether you want to run CONDA update — prefix/users/omeiko/opt/minicanda3 anaconda. After running, the above error prompt will be displayed
the reason for the problem is that you installed miniconda instead of anaconda.
Solution:
Method 1
execute CONDA install anaconda, install anaconda, and then run again.
Method 2
execute CONDA update — prefix/users/omeiko/opt/miniconda3 CONDA. There is no need to update anaconda
or execute CONDA update — name base CONDA (I solved it myself with this command) to update the base command
Read More:
- [How to Fix]RuntimeError: Python is not installed as a framework, If you are using (Ana)Conda
- [Solved] conda install DBUtils Error: To search for alternate channels that may provide the conda package you’re looking for
- [Solved] MAC terminal Use ‘CONDA activate’ and ‘CONDA install package_ Error reported by name’ Error
- [Solved] CONDA Error: Collecting package metadata (current_repodata.json): failed…
- [Solved] ModuleNotFoundError: No module named ‘xxx’; ‘xxx’ is not a package
- [Solved] ERROR: Cannot uninstall ‘PyYAML‘. It is a distutils installed project and thus we cannot accurately
- VScode Run CONDA environment Error [How to Solve]
- [Solved] ERROR: Cannot uninstall ‘wrapt‘. It is a distutils installed project and thus we cannot accurately d
- [Solved] ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
- [Solved] ProxyError: Conda cannot proceed due to an error in your proxy configuration.
- Python3 Error: Cannot uninstall ‘numpy’. It is a distutils installed project and thus we cannot accurate
- [Solved] CONDA ENV create and run Error: F environment.yml under win10
- Conda Install Library Error: failed with initial frozen solve. Retrying with flexible solve.
- How to Solve Error handling after upgrade pip of Anaconda
- [Solved] Conda install Error: An HTTP error occurred when trying to retrieve this URL. HTTP errors are often…
- Mac Upgrade pip Error OSError: [Errno 13] Permission denied: ‘/Library/Python/2.7/site-packages/pip-9.0.1-py2….
- Pytorch: How to Handle error warning conda.gateways.disk.delete:unlink_or_rename_to_trash(140)
- [Solved] Pymysql Use Error: RuntimeError: ‘cryptography‘ package is required for sha256_password
- [How to Solve] ERROR: Input: conda activate xxx
- [Solved] CONDA installs scikit-learn 0.24 Error: LinkError