VirusTotal / vt-py

The official Python 3 client library for VirusTotal
https://virustotal.github.io/vt-py/
Apache License 2.0
531 stars 121 forks source link

Error building aiohttp during vt-py installation #165

Closed JaggedGem closed 11 months ago

JaggedGem commented 11 months ago

Overview

When attempting to install vt-py, the installation process encounters an error while building the aiohttp dependency.

Steps to Reproduce

  1. Run the following command to install vt-py: pip install vt-py

  2. Observe the error during the build process.

Expected Behavior

The aiohttp dependency should build successfully without any errors during the installation of vt-py.

Actual Behavior

During the aiohttp build process, the build fails with the following error: Error Output

Environment

Thanks for the help!

mgmacias95 commented 11 months ago

Hello,

Which version of aiohttp are you using? It seems the only aiohttp version that works with python 3.12 is this one:

pip install aiohttp==3.9.0b0

which is not still stable (https://github.com/aio-libs/aiohttp/issues/7675).

I hope this helps.

Regards, Marta

JaggedGem commented 11 months ago

Hi Marta,

Thank you so much for your swift response and helpful suggestion.

I can confirm that installing aiohttp version 3.9.0b0 as you advised has indeed resolved the issue. The installation of vt-py proceeded smoothly, and I now have it up and running on my system.

Your assistance is greatly appreciated, and I'm grateful for your expertise in resolving this matter. Should I encounter any future challenges or have questions, I won't hesitate to seek your guidance.

Best regards, Bogdan

mgmacias95 commented 11 months ago

I'm glad your problem is fixed! :)