sentry2csv icon indicating copy to clipboard operation
sentry2csv copied to clipboard

Installation fails with python 3.12: Could not build wheels for aiohttp

Open markmcnaughton opened this issue 1 year ago • 0 comments

Installation fails on the latest Ubuntu 24.04 with python 3.12.

I get the following error:

ERROR: Failed building wheel for aiohttp
Failed to build aiohttp
ERROR: Could not build wheels for aiohttp, which is required to install pyproject.toml-based projects

To resolve the issue, I updated setup.py with: "aiohttp==3.10.5"

Then when running the application I got the error:

Traceback (most recent call last):
  File "/home/mark/git/github/sentry2csv/myenv/bin/sentry2csv", line 5, in <module>
    from sentry2csv.sentry2csv import main
  File "/home/mark/git/github/sentry2csv/sentry2csv/sentry2csv.py", line 13, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

To resolve this I installed setuptools: pip install setuptools

The application now works correctly. I just posted this in case someone else ran accross the same issues.

markmcnaughton avatar Aug 21 '24 09:08 markmcnaughton