Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

Error loading the Python modules of netgen/ngsolve

More
4 years 4 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 4 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.116 seconds