Git Product home page Git Product logo

Comments (6)

keurfonluu avatar keurfonluu commented on August 16, 2024

HI @David-zw ,

Weird. I have then same version of Python through Anaconda (Windows 11, though), and the code runs fine.
What's your version of numba? (I believe that numba is crashing somehow).

Can you also test pasting that code in a script (e.g., "sample.py"), and then run that script from Windows console? (python sample.py). You may have to activate your conda environment beforehand (conda activate).

Thanks!

from fteikpy.

David-zw avatar David-zw commented on August 16, 2024

Hi @keurfonluu,
The version of numba is the latest. The code sample.py runs fine. When I revise the example to a 2D case(see below), it also runs fine.

image

However, when I run it as a 3D case, the kernel will die. The full error message is as follows:

'''
Windows fatal exception: code 0xc000001d

Main thread:
Current thread 0x0000adc0 (most recent call first):
File "C:\Users\Administrator\AppData\Roaming\Python\Python38\site-packages\fteikpy_grid.py", line 214 in call
File "C:\Users\Administrator\AppData\Local\Temp\ipykernel_29044\3943618005.py", line 2 in
'''

from fteikpy.

keurfonluu avatar keurfonluu commented on August 16, 2024

Sorry for the delay.

I've updated my Anaconda distribution to the latest, and I have no issue running this script with numba v0.53.0.
Does the 3D code works fine when you run python sample.py (where sample.py is the 3D case)?

I can't debug it as long as I am unable to reproduce the error...

from fteikpy.

David-zw avatar David-zw commented on August 16, 2024

Hi @keurfonluu,
I've reinstalled Anaconda distribution, and the error would disappear if this package installed in the base environment. But, the error would appear if this package installed in the new created environment. However, I want to install it in my created environment. Can you also test the package in a new created environment. Thank you.

System information
Operating system: Windows 10
Python installation (Anaconda, system, ETS): Anaconda 2.0.3
Version of Python: 3.8.8
Version of this package: latest

from fteikpy.

keurfonluu avatar keurfonluu commented on August 16, 2024

Thanks for reporting this issue. I've been able to reproduce it. I have pushed a "fix", so please update to v2.3.2: pip install fteikpy -U.
I still don't understand why it worked in Anaconda base environment, though.

from fteikpy.

David-zw avatar David-zw commented on August 16, 2024

Thanks very much for your help.

from fteikpy.

Related Issues (10)

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.