I've been using Anaconda ever since I started using Python, but at the beginning I wasn't really aware of the difference between ** conda ** and ** pip **.
I now know that both are "dangerous to mix", but until now when installing a new package, I used the one that happened to be featured on the google page.
The result is a jumble of conda and pip. Rather, it was mostly pip install (sweat)
Meanwhile, I recently had the opportunity to try updating conda, and at that time I noticed a warning message like this.
Collecting package metadata (repodata.json): done
Solving environment: |
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
- defaults/osx-64::smart_open==1.5.7=py36_0
- https://repo.continuum.io/pkgs/main/osx-64/widgetsnbextension-3.1.0-py36_0.tar.bz2/osx-64::widgetsnbextension==3.1.0=py36_0
- https://repo.continuum.io/pkgs/main/osx-64/datashape-0.5.4-py36hfb22df8_0.tar.bz2/osx-64::datashape==0.5.4=py36hfb22df8_0
- defaults/osx-64::s3transfer==0.1.13=py36_0
- https://repo.continuum.io/pkgs/main/osx-64/dask-0.16.1-py36_0.tar.bz2/osx-64::dask==0.16.1=py36_0
...
(Hereafter, a lot of slapstick)
Is it the result of mixing and using conda and pip without worrying about them? I may have been lucky that the toxic gas did not come out and it was not impossible to restart, but when I was told "inconsistent", I was very worried because I was just one user. (Although the update itself seemed to be possible by ignoring the warning.)
For the time being, I googled, so I just sent the warning message to the search window. Then I found stack overflow's "[The environment is inconsistent, please check the package plan carefully](https://stackoverflow.com/questions/55527354/the-environment-is-inconsistent-please-check-the-" package-plan-carefully) ".
According to this, the warning message will not be displayed by simply doing the following.
conda install anaconda
When I tried it, the warning message certainly disappeared.
Well, I'm not sure if this solved it without any problems, but it works fine so far. If you are suffering from the same symptoms and want to try this method, please make a backup just in case.
Recommended Posts