-
Notifications
You must be signed in to change notification settings - Fork 438
Open
Description
It seems like python 3.12 is not fully compatible with this rep, even though this is not mentioned on pip. If I do the same thing but replace the venv with 3.10 and then afterwards try to run with 3.12 it will work just fine. However, running this with python 3.12 for the first time will produce errors with some libraries that this rep needs. This makes it difficult for new people to join, since this is not mentioned on the pypi version requirements or in the documentation.
How to reproduce:
- start a new venv with python 3.12.3
- install hyperliquid-python-sdk (version 0.6.0) with pip
- create open_order.py with text from the example
- create example_utils.py with text from example
- create config.json with appropriate info
- run open_order.py
error: Traceback (most recent call last):
File "pythonProject\trial.py", line 4, in <module>
import example_utils
File "pythonProject\example_utils.py", line 1, in <module>
import eth_account
File "pythonProject\.venv\Lib\site-packages\eth_account\__init__.py", line 1, in <module>
from eth_account.account import (
File "pythonProject\.venv\Lib\site-packages\eth_account\account.py", line 18, in <module>
from eth_keyfile import (
File "pythonProject\.venv\Lib\site-packages\eth_keyfile\__init__.py", line 3, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
trvrmcs and sumitgautam0101
Metadata
Metadata
Assignees
Labels
No labels