bloXroute-Labs / solana-trader-client-python

MIT License
18 stars 8 forks source link

Installation error #118

Open CRY-D opened 8 months ago

CRY-D commented 8 months ago

pip install bxsolana-trader

Python 3.11.8

Building wheels for collected packages: aiohttp
  Building wheel for aiohttp (pyproject.toml) ... error
  error: subprocess-exited-with-error
.
.
.
.
.
  × Building wheel for aiohttp (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [107 lines of output]

socket.c -o build/temp.linux-x86_64-cpython-311/aiohttp/_websocket.o
      aiohttp/_websocket.c:198:12: fatal error: longintrepr.h: No such file or directory
        198 |   #include "longintrepr.h"
            |            ^~~~~~~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  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
syntaxsurge commented 7 months ago

same issue, have you fixed this error? Did you try different python version?

k0mkon commented 7 months ago

They need to update aiohttp to the latest version in the requirements.

webby-the-dev commented 4 months ago

Did you guys find out how to fix it? I mean how to install it correctly

webby-the-dev commented 4 months ago

@syntaxsurge @k0mkon

syntaxsurge commented 4 months ago

@syntaxsurge @k0mkon

Try different python version. But if you want to stick with the latest python version, just clone the repository to your project

Caterpillarfox commented 4 months ago

pip install 'git+https://github.com/Caterpillarfox/solana-trader-client-python#latest_fixed' or, if you use poetry: poetry add 'git+https://github.com/Caterpillarfox/solana-trader-client-python#latest_fixed'

it's the latest release on pypi

atulsriv commented 1 month ago

can you confirm if the latest package fixes this issue: https://pypi.org/project/bxsolana-trader/2.1.7/