Error loading the Python modules of netgen/ngsolve

More
4 years 11 months ago #2203 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
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?
More
4 years 11 months ago #2204 by christopher
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
Time to create page: 0.098 seconds