简体   繁体   中英

Anaconda - Updating a package via anaconda prompt is constricted

I want to update all my packages that I am currently using. Going into anaconda prompt and typing

conda update --all

returns me the message that "All requested packages already installed" . That isn't the case, since almost half of my packages are outdated. I understand that anaconda is doing that just because of dependency conflicts. So I tried to manually update 1 package, in my case, pandas.

Typing conda update pandas , give me the message

Updating pandas is constricted by 
anaconda -> requires pandas==0.25.1=py37ha925a31_0

If you are sure you want an update of your package either try `conda update --all` or install a 
specific version of the package you want using `conda install <pkg>=<version>`

So does that mean that I can't update pandas to the latest version? Or for that matter, any other library like numpy which yields me the same message. Is this normal or am I missing something ?

I had the same issue as you was able to resolve it by updating to latest anaconda, you need to type in

conda install anaconda=2020.07

And that should update everythign to the latest package, got my pandas to 1.0.5 as well as updated a lot of other packages

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM