- Thank you received: 0
Error loading the Python modules of netgen/ngsolve
4 years 11 months ago #2203
by renard
Error loading the Python modules of netgen/ngsolve was created by renard
Hi,
I'm trying to use the Python API of Netgen to create 3d finite element meshes. However, I can't use the modules 'netgen' or 'ngsolve'
if I try
I'm getting the errors
I'm using Ubuntu 16.04, and I installed Ngsolve with 'apt-get install ngsolve'
How can we fix this problem?
I'm trying to use the Python API of Netgen to create 3d finite element meshes. However, I can't use the modules 'netgen' or 'ngsolve'
if I try
Code:
import netgen
import ngsolve
I'm getting the errors
ImportError: No module named 'netgen'
ImportError: No module named 'ngsolve'
I'm using Ubuntu 16.04, and I installed Ngsolve with 'apt-get install ngsolve'
How can we fix this problem?
- christopher
- Offline
- Administrator
Less
More
- Thank you received: 101
4 years 11 months ago #2204
by christopher
Replied by christopher on topic Error loading the Python modules of netgen/ngsolve
Did you use python3 ? We do not support python2.
As well, the installers on 16.04 are out of date since ubuntu support for this lts has run out. The latest version built for this platform is about a year old.
Best
Christopher
As well, the installers on 16.04 are out of date since ubuntu support for this lts has run out. The latest version built for this platform is about a year old.
Best
Christopher
Time to create page: 0.098 seconds