Unable to install Poppler on Windows using Conda
Asked Answered
D

2

1

I've been trying to install Poppler to use pdf2image to do some pdf to jpeg conversions using Anaconda Prompt.

I tried running this: conda install -c conda-forge poppler

However, it gets stuck on "Solving Environment" and nothing really happens.

I tried another way but it gave the following error:

(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.
Dripdry answered 2/8, 2019 at 16:36 Comment(0)
D
4

After trying several methods, ultimately what worked is given on this link: https://github.com/QISKit/qiskit-terra/issues/586

I had to manually download the library, unlock the zip folder using a 7-zip software and add the bin address to the environment variable path.

Dripdry answered 3/8, 2019 at 13:28 Comment(0)
A
-1

Poppler on windows

  • Download miniconda for Windows 32/64 bit from https://docs.conda.io/en/latest/miniconda.html

  • Install poppler for windows using command:

    conda install -c conda-forge poppler
                    or
    conda install -c conda-forge/label/gcc7 poppler
                     or
    conda install -c conda-forge/label/cf201901 poppler
    
Ault answered 21/2, 2020 at 11:8 Comment(1)
The OP said they tried conda install -c conda-forge poppler and it got stuck. Your primary answer is to try conda install -c conda-forge poppler . In terms of the question, "How do I write a good answer?", your answer could be improved upon.Jaw

© 2022 - 2024 — McMap. All rights reserved.