Installing aspose-pdf with Anaconda

Hello,
I am trying to install aspose-pdf on my computer but it seems as though the conda channel is outdated. I have a macbook and I have tried “conda install aspose-pdf” in the terminal, but it keeps giving me this error:

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  • aspose-pdf

Current channels:

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.

I have tried going to the anaconda website and searching for aspose pdf, but even when I tried to download an alternate channel, it still was not working.

@leqit

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFJAVA-42981

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@leqit

To install Aspose.PDF in conda environment, you need to install the following two commands:

pip install aspose-pdf-for-python-via-java==23.6.1
pip install StrEnum

Our log is here for testing environment testAspose:

(testAspose) C:\Users\user>conda activate testAspose

(testAspose) C:\Users\user>pip install aspose-pdf-for-python-via-java==23.6.1
Collecting aspose-pdf-for-python-via-java==23.6.1
  Obtaining dependency information for aspose-pdf-for-python-via-java==23.6.1 from https://files.pythonhosted.org/packages/e4/8d/2b747b11904ef86369b3fad9c6e18cca06f2be4acf5e8c8f3d2ec5437eec/aspose_pdf_for_python_via_java-23.6.1-py3-none-any.whl.metadata
  Using cached aspose_pdf_for_python_via_java-23.6.1-py3-none-any.whl.metadata (2.3 kB)
Collecting JPype1==1.4.1 (from aspose-pdf-for-python-via-java==23.6.1)
  Using cached JPype1-1.4.1-cp311-cp311-win_amd64.whl (345 kB)
Collecting packaging (from JPype1==1.4.1->aspose-pdf-for-python-via-java==23.6.1)
  Using cached packaging-23.1-py3-none-any.whl (48 kB)
Using cached aspose_pdf_for_python_via_java-23.6.1-py3-none-any.whl (67.3 MB)
Installing collected packages: packaging, JPype1, aspose-pdf-for-python-via-java
Successfully installed JPype1-1.4.1 aspose-pdf-for-python-via-java-23.6.1 packaging-23.1

(testAspose) C:\Users\user>pip install StrEnum
Collecting StrEnum
  Obtaining dependency information for StrEnum from https://files.pythonhosted.org/packages/81/69/297302c5f5f59c862faa31e6cb9a4cd74721cd1e052b38e464c5b402df8b/StrEnum-0.4.15-py3-none-any.whl.metadata
  Using cached StrEnum-0.4.15-py3-none-any.whl.metadata (5.3 kB)
Using cached StrEnum-0.4.15-py3-none-any.whl (8.9 kB)
Installing collected packages: StrEnum
Successfully installed StrEnum-0.4.15