Command executed:
conda install -c conda-forge jupyter_contrib_nbextensions
Issue
ERROR conda.core.link:_execute(698): An error occurred while installing package 'conda-forge::jupyter_latex_envs-1.4.6-py38h32f6830_1001'.
Rolling back transaction: done
LinkError: post-link script failed for package conda-forge::jupyter_latex_envs-1.4.6-py38h32f6830_1001
location of failed script: C:UsersLenovoanaconda3Scripts.jupyter_latex_envs-post-link.bat
==> script messages <==
<None>
==> script output <==
stdout:
stderr: 'chcp' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���
'chcp' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���
'chcp' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���
return code: 1
Solution
in file jupyter_latex_envs-post-link.bat, under the @echo off (using np++)set PATH=%PATH%;%SystemRoot%system32;%SystemRoot%;%SystemRoot%System32Wbem;
https://github.com/ContinuumIO/anaconda-issues/issues/10949