无法使用 Conda 在 Windows 上安装 Poppler
Unable to install Poppler on Windows using Conda
我一直在尝试安装 Poppler 以使用 pdf2image 来使用 Anaconda Prompt 进行一些 pdf 到 jpeg 的转换。
我试过 运行 这个:
conda install -c conda-forge poppler
但是,它卡在了 "Solving Environment" 上,实际上什么也没有发生。
我尝试了另一种方法,但它给出了以下错误:
(base) C:\Users\taman>conda install -c conda-forge/label/cf201901 poppler
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from
current channels:
- poppler
Current channels:
- https://conda.anaconda.org/conda-forge/label/cf201901/win-64
- https://conda.anaconda.org/conda-forge/label/cf201901/noarch
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
访问频道https://conda.anaconda.org/conda-forge/label/cf201901/win-64,发现没有poppler包
我建议你从https://conda.anaconda.org/conda-forge/渠道安装
conda install -c conda-forge poppler
在尝试了几种方法之后,最终在这个 link 上给出了有效的方法:
https://github.com/QISKit/qiskit-terra/issues/586
我不得不手动下载库,使用7-zip软件解开zip文件夹并将bin地址添加到环境变量路径中。
Poppler windows
下载 Windows 32/64 位的 miniconda 来自
https://docs.conda.io/en/latest/miniconda.html
使用命令为 windows 安装 poppler:
conda install -c conda-forge poppler
or
conda install -c conda-forge/label/gcc7 poppler
or
conda install -c conda-forge/label/cf201901 poppler
我一直在尝试安装 Poppler 以使用 pdf2image 来使用 Anaconda Prompt 进行一些 pdf 到 jpeg 的转换。
我试过 运行 这个: conda install -c conda-forge poppler
但是,它卡在了 "Solving Environment" 上,实际上什么也没有发生。
我尝试了另一种方法,但它给出了以下错误:
(base) C:\Users\taman>conda install -c conda-forge/label/cf201901 poppler
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from
current channels:
- poppler
Current channels:
- https://conda.anaconda.org/conda-forge/label/cf201901/win-64
- https://conda.anaconda.org/conda-forge/label/cf201901/noarch
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
访问频道https://conda.anaconda.org/conda-forge/label/cf201901/win-64,发现没有poppler包
我建议你从https://conda.anaconda.org/conda-forge/渠道安装
conda install -c conda-forge poppler
在尝试了几种方法之后,最终在这个 link 上给出了有效的方法: https://github.com/QISKit/qiskit-terra/issues/586
我不得不手动下载库,使用7-zip软件解开zip文件夹并将bin地址添加到环境变量路径中。
Poppler windows
下载 Windows 32/64 位的 miniconda 来自 https://docs.conda.io/en/latest/miniconda.html
使用命令为 windows 安装 poppler:
conda install -c conda-forge poppler or conda install -c conda-forge/label/gcc7 poppler or conda install -c conda-forge/label/cf201901 poppler