Skip to content
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

json rpc type issue #136

Open
benjiqq opened this issue Oct 24, 2024 · 3 comments
Open

json rpc type issue #136

benjiqq opened this issue Oct 24, 2024 · 3 comments

Comments

@benjiqq
Copy link
Contributor

benjiqq commented Oct 24, 2024

File "/Users/.../.venv/lib/python3.12/site-packages/bxsolana/provider/ws.py", line 7, in
from . import jsonrpc_patch # noqa: F401, Used for side-effect patching
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/.../.venv/lib/python3.12/site-packages/bxsolana/provider/jsonrpc_patch.py", line 2, in
from jsonrpc.types.server_error import RpcErrorCode, message_map, RpcError
ModuleNotFoundError: No module named 'jsonrpc.types'

@atulsriv
Copy link
Collaborator

@benjiqq what pypi package are you using?

@benjiqq
Copy link
Contributor Author

benjiqq commented Oct 25, 2024

this is from my project.toml

dependencies = [
    "requests>=2.32.3",
    "betterproto==2.0.0b6",
    "python-dotenv>=1.0.1",    
    "setuptools>=75.2.0",
    "async-timeout>=4.0.3",    
    "solana==0.31.0",
    "websocket-client>=1.8.0",
    "python-dateutil>=2.9.0.post0",
    "bxsolana-trader-proto @ [email protected]:bloXroute-Labs/solana-trader-proto.git",
    "bxsolana-trader @ [email protected]:bloXroute-Labs/solana-trader-client-python.git",
    "base58>=2.1.1",
    "aiohttp>=3.10.10",
    "jsonrpc>=3.0.1",
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants