r/learningpython • u/ngonz17 • Oct 17 '23
How to install pymupdf using conda?
I tried to install pymupdf using "conda install pymupdf" but no luck. It outputs the following. Any ideas what I am doing wrong? I'm running Python 3.12. I would prefer to use the latest possible version of pymupdf that supports Python 3.12. Thank you.
-------------------------------------------
Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- pymupdf
Current channels:
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/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
and use the search bar at the top of the page.
View all comments
Show parent comment
1
u/ngonz17 Oct 18 '23
I see.. thank you.
So I ultimately ended up doing:
conda install pip
Then while still in my conda environment, I just ran pip install pumypdf.