Skip to content

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

@markmcnaughton

Description

@markmcnaughton

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions