Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install from formula #149

Open
ritesh opened this issue Sep 11, 2024 · 0 comments
Open

Unable to install from formula #149

ritesh opened this issue Sep 11, 2024 · 0 comments

Comments

@ritesh
Copy link

ritesh commented Sep 11, 2024

I'm trying to install openEMS on mac using the instructions on the wiki for macOS (version 14.6.1, Sonoma).

brew tap thliebig/openems https://github.com/thliebig/openEMS-Project.git
brew install --HEAD openems

This fails firstly due to a mismatch in the version of hdf5. I tried to hack around this by changing the homebrew formula to depend on hdf5@1.10 (line 19). I'm a newbie, so I don't know if this will break other things!

depends_on "hdf5@1.10"

This seems to fix the compilation issues, but it fails to install the python dependencies - here I'm not sure how to proceed.

Last 15 lines from /Users/RiteshSinha/Library/Logs/Homebrew/openems/06.python3.12:
setup.py
build_ext
-I
/opt/homebrew/Cellar/openems/HEAD-494c95c/include
-L
/opt/homebrew/Cellar/openems/HEAD-494c95c/lib
-R
/opt/homebrew/Cellar/openems/HEAD-494c95c/lib
-j
16

Traceback (most recent call last):
  File "/private/tmp/openems-20240911-86729-fo4vs7/CSXCAD/python/setup.py", line 1, in <module>
    from setuptools import Extension, setup
ModuleNotFoundError: No module named 'setuptools'
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --version
/opt/homebrew/Library/Homebrew/ignorable.rb:27:in `block in raise'
BuildError: Failed executing: python3.12 setup.py build_ext -I /opt/homebrew/Cellar/openems/HEAD-494c95c/include -L /opt/homebrew/Cellar/openems/HEAD-494c95c/lib -R /opt/homebrew/Cellar/openems/HEAD-494c95c/lib -j 16
1. raise
2. ignore
3. backtrace
4. irb
5. shell
Choose an action: shell
When you exit this shell, you will return to the menu.

Has anyone had success in installing on macOS recently?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant