Git Product home page Git Product logo

Comments (4)

JR-1991 avatar JR-1991 commented on August 29, 2024

Thank you for submitting your issue, Alex!

After testing with Numpy version 1.24.2 and looking at your log, it seems that your current Numpy version is 1.20.3 and the NDArray is not part of the typing module for this version. It is possible that the kernel used in your notebook is different from your terminal, causing the discrepancy.

To update your kernel's Numpy version, try running the following code in your notebook:

import sys 
!{sys.executable} -m pip install --upgrade numpy

This should resolve the issue. Please let me know if it worked. I have also opened an issue at sdRDM to specify versions in the setup to prevent incompatibilities.

from sdrdm-template.

AlexWindels avatar AlexWindels commented on August 29, 2024

Hi Jan, thank you so much for your reply! I tried what you proposed (as seen in the image below), yet that unfortunately didn't resolve the issue. Any more ideas? :)
image
image

from sdrdm-template.

JR-1991 avatar JR-1991 commented on August 29, 2024

Alright, it seems like there are dependency issues caused by your SciPy and Numba versions. You can use conda or venv to set up a local environment to prevent such dependency problems. I just changed the typing from NDArray to ArrayLike which is supported by older versions. Can you try to re-install it?

from sdrdm-template.

AlexWindels avatar AlexWindels commented on August 29, 2024

Hi Jan, creating a virtual environment solved the issue! Thank you for your help!

from sdrdm-template.

Related Issues (3)

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.