Giter Club home page Giter Club logo

Comments (9)

polakowo avatar polakowo commented on July 22, 2024 2

Fixed in 0.26.0

from vectorbt.

Sabr3tooth avatar Sabr3tooth commented on July 22, 2024 1

Thanks, I am using 3.10; the issue appears to be related to numba. I have since pinned numba to 0.57.0 and this seems to help. Hopefully this will help others until the upgrade takes place

from vectorbt.

Sabr3tooth avatar Sabr3tooth commented on July 22, 2024 1

Thanks for the quick turn-around on this one!!

from vectorbt.

Sabr3tooth avatar Sabr3tooth commented on July 22, 2024

I will add that the top-level module from vectorbt where this issue is encountered is:

from vectorbt import Portfolio

from vectorbt.

polakowo avatar polakowo commented on July 22, 2024

Will be fixed once Python 3.11 support is added (soon). In the meantime use Python 3.10 or below.

from vectorbt.

makumi1001 avatar makumi1001 commented on July 22, 2024

I got this same issue but I cant fix it successfully, please advise

from numba import generated_jit, njit
ImportError: cannot import name 'generated_jit' from 'numba' (*/software/pkg/miniconda3/lib/python3.9/site-packages/numba/init.py)

from vectorbt.

trlinden avatar trlinden commented on July 22, 2024

same error here, on both python 3.9 and 3.10 and with numba version 0.57.1 and 0.59.0

from vectorbt.

polakowo avatar polakowo commented on July 22, 2024

Where do you get "generated_jit" from? It's not in the codebase of the latest vbt version.

from vectorbt.

polakowo avatar polakowo commented on July 22, 2024

Here are the numba versions that vbt urges you to use:

"numba>=0.53.1, <0.57.0; python_version<'3.10'",
"numba>=0.56.0, <0.57.0; python_version>='3.10' and python_version<'3.11'",
"numba>=0.57.0; python_version>='3.11'"

from vectorbt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.