Replies: 3 comments 6 replies
-
hi, since I remember that openEMS python interface is written in cython and is for python 3.11 (also 3.10 could run as you wrote) |
Beta Was this translation helpful? Give feedback.
-
@istra711 can you explain how you installed openEMS? Does it (except the python interface) build normally? |
Beta Was this translation helpful? Give feedback.
-
OpenEMS installed just fine for me today on 24.04. The key is simply to create and activate a virtual python environment first and then proceed with installation. I used uv to setup my virtual environment but you could use any thing you want. Once you have the environment active in your shell, install the required python packages, then re-run the openEMS installer script. cd $HOME
uv venv --python 3.12
source .venv/bin/activate
uv pip install numpy h5py matplotlib cython setuptools
git clone --recursive https://github.com/thliebig/openEMS-Project.git
cd openEMS-Project
./update_openEMS.sh ~/.local --with-hyp2mat --with-CTB --python |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Has anybody successfully installed openEMS 0.36 with python interface on Ubuntu24.04? I tried this several times but without any luck. The system python (3.12) requires now by default a virtual environment but that doesn't work somehow. I tried the "--break-system-packages" option but it didn't work because of dependencies problems with several python packages. To be able to use openEMS on Ubuntu 24.04 I have build a docker image based on Ubuntu 22.04 (python 3.10). This works so far with some modifications but my actual goal is to use openEMS with Blender and the new IntuitionRF plugin, unfortunately that seems to be impossible with a docker container. (Blender cannot see the openEMS installation inside of the container).
Beta Was this translation helpful? Give feedback.
All reactions