Comments (6)
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.
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.
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.
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.
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.
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.
Thanks very much for your help.
from fteikpy.
Related Issues (10)
- When I run the code to get traveltime at some points,Some error like ZeroDivisionError: division by zero HOT 4
- How to trace the ray inside a cylinderal volume? HOT 6
- run sample.py will met an error when set honor_grid=True HOT 16
- Some question about this pacakge HOT 3
- Interpretation of gradients
- Example code would be very nice HOT 1
- Can't change the position of source in the sample.py HOT 4
- How to get the Jacobian matrix for least square inversion? HOT 4
- How to get the Jacobian matrix with the honor grid? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fteikpy.