1. Anaconda is a toolkit integrated management tool. It is very convenient to download Python toolkit
conda install package_ name
However, sometimes when a toolkit (such as xmltodict) is installed, if the package cannot be found in the current channels, you will be prompted:
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 with anaconda search -t conda xmltodict
Then enter Anaconda search – t CONDA xmltodict search result according to the prompt:
Now choose an appropriate version to install. For example, I choose this:
conda-forge/xmltodict | 0.10.2 | conda | linux-64, win-32, win-64, osx-64
Then execute the following command to install:
conda install -c https://conda.anaconda.org/conda-forge xmltodict
2.Using PIP install package directly_ Name command and install it in the local tool library