0xTaoDev / jupiter-python-sdk

Jupiter Python SDK is a Python library that allows you to use most of Jupiter features.
https://pypi.org/project/jupiter-python-sdk/
MIT License
120 stars 32 forks source link

Solders Issue #2

Closed CryptoX78 closed 5 months ago

CryptoX78 commented 6 months ago

Hi, I can fetch data without authentication, but have run into an issue when trying to execute a swap.

I’m getting these two problems:

import “solders.pubkey” could not be resolved from the source. import “solders.keypair” could not be resolved from the source.

i’m running on Windows through VSCode. I’ve tried to resolve playing with python interpreter without success. Also pip list shows solders installed.

What’s the best way to troubleshoot this issue?

0xTaoDev commented 6 months ago

Hello, does the others solders imports works? for example:

from solders.message import message
from solders.transaction import VersionedTransaction
CryptoX78 commented 6 months ago

Hi, thanks for prompt response, no i’m getting errors for all solders imports. However, I don’t get an import error when just importing solders like below:

import solders

I’ve also tried uninstalling and reinstalling solders 0.18.1, which has not resolved the issue.

0xTaoDev commented 6 months ago

Very weird, I never had this problem before, does the files exists in your solders folder package?

CryptoX78 commented 6 months ago

Yes the files definitely exist in my solders folder:

-a---- 2024-01-06 12:52 1165 keypair.pyi -a---- 2024-01-06 12:52 6255 message.pyi -a---- 2024-01-06 12:52 814 null_signer.pyi -a---- 2024-01-06 12:52 582 presigner.pyi -a---- 2024-01-06 12:52 1172 pubkey.pyi

I also reinstalled VS code to no avail.

0xTaoDev commented 6 months ago

add me on discord: https://discord.gg/JA3vPBsR so we could talk more quickly, if it's right for you

CryptoX78 commented 6 months ago

Sounds good. I have accepted your Discord request.