I have been using Anaconda 2019.07 for python 3.7 on windows 10. And I cannot update all package using
conda update --all
The error is as below
ERROR conda.core.link:_execute(696): An error occurred while installing package 'defaults::ipykernel-5.1.2-py37h39e3cac_0'.
Rolling back transaction: done
LinkError: post-link script failed for package defaults::ipykernel-5.1.2-py37h39e3cac_0
location of failed script: C:\Users\johnn\Anaconda3\Scripts\.ipykernel-post-link.bat
==> script messages <==
<None>
==> script output <==
stdout:
stderr: 'chcp' is not recognized as an internal or external command,
operable program or batch file.
'chcp' is not recognized as an internal or external command,
operable program or batch file.
'chcp' is not recognized as an internal or external command,
operable program or batch file.
return code: 1
How can I fix this problem? Please help.
I have even removed all anaconda and have a fresh installation but the error is still there.