Python 3.11
Vectorbt python 3.11 ?
Python 3.11 requires many adjustments, it will be added once Python 3.12 comes out. Only the pro version supports it currently.
it's a pity that I just found it and wanna take a try, looking forward to it with Python3.11...
Try this guys : 1/ Download package (git clone, or download zip) 2/ Edit setup.py :
- Line 24 : 'numpy>=1.23.2'
- Line 30 : "numba>=0.58.1; python_version < '3.12'",
- Line 31: "numba>=0.58.1; python_version >= '3.12'",
- Line 62 : python_requires='>=3.6, <3.12',
- Add at line 74 : 'Programming Language :: Python :: 3.11',
3/ Then run : pip install -e vectorbt
You're welcome 👍
@Otnicka1 I tried doing this for Python 3.12 but get an error during the wheel build
I took your changes and modified to:
Line 24 : 'numpy>=1.23.2'
Line 30 : "numba>=0.58.1; python_version < '3.13'",
Line 31: "numba>=0.58.1; python_version >= '3.12'",
Line 62 : python_requires='>=3.6, <3.13',
Add at line 74 : 'Programming Language :: Python :: 3.12',
But I get an error during the build:
Getting requirements to build wheel ... error error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
Traceback (most recent call last):
File "C:\Users\vp\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.