conda install package_name
但是有时候会提示:
conda install pydot Fetching package metadata ....... Solving package specifications: . PackageNotFoundError: Package not found: '' Package missing in current win-64 channels: - xmltodictYou can search for packages on anaconda.org withanaconda search -t conda xmltodict
输入 anaconda search -t conda xmltodict
那么执行下面命令进行安装即可:
conda install -c https://conda.anaconda.org/conda-forge xmltodict
参考:
https://www.aliyun.com/jiaocheng/448124.html