Pip Install Error for aspose-total-net on mac book pro

Hello,

When I try to install Aspose.Total for Python via .NET from PIP with following command pip install aspose-pdf I get the following error on a mac book pro:

pip install aspose-total-net
Collecting aspose-total-net
  Downloading aspose_total_net-24.12.0-py3-none-any.whl.metadata (16 kB)
INFO: pip is looking at multiple versions of aspose-total-net to determine which version is compatible with other requirements. This could take a while.
  Downloading aspose_total_net-24.11.0-py3-none-any.whl.metadata (16 kB)
  Downloading aspose_total_net-24.10.0-py3-none-any.whl.metadata (16 kB)
  Downloading aspose_total_net-24.9.0-py3-none-any.whl.metadata (16 kB)
  Downloading aspose_total_net-24.8.0-py3-none-any.whl.metadata (16 kB)
  Downloading aspose_total_net-24.7.0-py3-none-any.whl.metadata (16 kB)
  Downloading aspose_total_net-24.6.0-py3-none-any.whl.metadata (15 kB)
  Downloading aspose_total_net-24.5.0-py3-none-any.whl.metadata (15 kB)
INFO: pip is still looking at multiple versions of aspose-total-net to determine which version is compatible with other requirements. This could take a while.
  Downloading aspose_total_net-24.4.0-py3-none-any.whl.metadata (14 kB)
  Using cached aspose_total_net-24.3.0-py3-none-any.whl.metadata (14 kB)
  Using cached aspose_total_net-24.2.0-py3-none-any.whl.metadata (14 kB)
  Using cached aspose_total_net-24.1.0-py3-none-any.whl.metadata (13 kB)
  Using cached aspose_total_net-23.12.0-py3-none-any.whl.metadata (13 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
  Using cached aspose_total_net-23.11.0-py3-none-any.whl.metadata (13 kB)
  Using cached aspose_total_net-23.10.0-py3-none-any.whl.metadata (13 kB)
  Using cached aspose_total_net-23.9.0-py3-none-any.whl.metadata (12 kB)
  Using cached aspose_total_net-23.8.0-py3-none-any.whl.metadata (11 kB)
  Using cached aspose_total_net-23.7.0-py3-none-any.whl.metadata (11 kB)
  Using cached aspose-total-net-22.6.0.tar.gz (4.2 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/wy/1t34p78j6nq_m9zktlrj5dyw0000gn/T/pip-install-hexuhnq5/aspose-total-net_1ff3f996fbd04e98954ea5711584a357/setup.py", line 4, in <module>
          with open("README.md", "r", encoding="utf-8") as fh:
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      FileNotFoundError: [Errno 2] No such file or directory: 'README.md'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.

[notice] A new release of pip is available: 24.2 -> 24.3.1
[notice] To update, run: pip install --upgrade pip
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

I have paid for a license and seems I cannot use the product. Why is this error occuring only on a mac book pro but does not occur on a windows machine?

@ln22

It seems you are encountering an issue while trying to install Aspose.Total for Python via .NET on your MacBook Pro. The error message indicates that there is a problem with the package metadata generation, specifically a missing README.md file during the installation process.

This issue may arise due to differences in how package dependencies are handled on macOS compared to Windows. Here are a few steps you can take to troubleshoot and potentially resolve the issue:

  1. Upgrade pip: Ensure that you are using the latest version of pip, as older versions may have bugs or compatibility issues. You can upgrade pip by running:

    pip install --upgrade pip
    
  2. Install Individual Packages: Instead of installing aspose-total-net, consider installing individual Aspose packages directly from PyPI. For example, you can install Aspose.PDF using:

    pip install aspose-pdf
    

    You can find other Aspose packages at the following links:

  3. Check for Compatibility: Ensure that the version of the Aspose package you are trying to install is compatible with your Python version and macOS environment.

  4. Temporary License: If you have a paid license, you might want to request a temporary 30-day license to test the products without evaluation limitations. You can do this through the Aspose website.

If the problem persists after trying these steps, consider reaching out to Aspose support for further assistance, as they may have more specific insights into the issue.

Sources:

None of these methods worked. Please help.

@ln22,

We apologize for the inconvenience this may have caused to you.

Unfortunately, not all APIs/packages in Aspose.Total for Python via .NET are compatible with macOS. Could you please specify which Python via .NET APIs you are currently using or plan to use on macOS for your situation/scenario? Also, share your macOS vesion that you are using? We will then evaluate it and provide assistance as needed.

I would like to specifically use Documentation|Aspose.PDF for Python via .NET with a 2021 MacBook Pro Apple M1 Max on macOS 14.6.1 (23G93).

I would also like to use Aspose.Total for Python via .NET|Documentation is possible.

@ln22,

I am transferring your thread to the appropriate forum where a member of our Aspose.PDF team will assess your issue/requirement and provide assistance as needed.

1 Like