-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: cannot import name 'RPCResponse' from 'solana.rpc.types' #113
Comments
THis fine person submitted a PR that looks like it fixes the issue. Try this branch: |
Seems to fix that error but this:
:-( |
I have my own fork now, I plan to add support for other DEXes. There is example code here, showing the current orderbook for Openbook: All you should need is to install solana and requests. |
Great! I'll try it. Btw, in the past hours I made some of the branches of this repo work (those failing because of missing RPCResponse) by hardcoding the solana version to this:
maybe this may help someone.... and.. as because this is actually what this ticket was about... |
@Broever101 yes, setup for example solana dependency to version 0.20.0 :
That worked for me. |
Yes, actually I got it to work a long time ago by using the hardcoded version. Forgot to update here, but thanks for the update! It'll be helpful to anyone coming along later. |
Hello |
While running the example code:
The error:
Checking out the latest
solana.rpc.types
, there really is noRPCResponse
.https://github.com/michaelhly/solana-py/blob/master/src/solana/rpc/types.py
Any pointers/fixes?
The text was updated successfully, but these errors were encountered: