Setting up Python interface for openEMS and CSXCAD #167
Replies: 2 comments 7 replies
-
First of all, please never post text as screenshot when you're reporting an issue for any software project. Screenshots cannot be edited or searched like text, so they're wastes of everyone's time. For short error messages like these, it only takes a few seconds to copy the entire console output as text and press the "code" formatting button. For long error messages, use attachments.
This has just been fixed several days ago. The patch can be applied manually from here: thliebig/openEMS@bf30b7d - but it's not enough to solve your problem because there's also a CSXCAD problem.
I'm the author of the documentation, but I don't understand why this happens, It worked on my machine. What macOS version are you using? Anyway, it sounds like a problem related to compiler search path. For now, try copying all CC @aWZHY0yQH81uOYvH: Please take a look when you have time. |
Beta Was this translation helpful? Give feedback.
-
Got the same
I think that it's because I have conda in the middle but not sure Have a mac M1 and Sequoia 15.1 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am very new to openEMS and I have been having troubles setting up the python interface for CSXCAD and openEMS. I followed the instructions given on the website for setting this up. However when I am trying to use pip to install the required python libraries it is throwing a /usr/local/clang exited with code 1 for the CSXCAD python interface. It also says,
/Users/adityamalhotra/Library/Caches/Homebrew/openems--git/CSXCAD/python/CSXCAD/CSPrimitives.cpp:1222:10: fatal error: 'CSXCAD/ParameterObjects.h' file not found
#include "CSXCAD/ParameterObjects.h"
I checked and the ParameterObjects.h file is not present inside the CSXCAD directory anywhere. It also says "python setup.py bdist_wheel did not run successfully".
When trying to setup the python interface for openEMS, the error thrown is "Error compiling cython file". It also says "python setup.py egg_info did not run successfully". For this the file that is being compiled is trying to cimport cython.numeric. However it is throwing the error cython.numeric is not a valid cython.* module.
I have already installed the required python libraries but it has not worked.
Beta Was this translation helpful? Give feedback.
All reactions