-
Notifications
You must be signed in to change notification settings - Fork 22
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
pip install can't find proper boost directory #252
Comments
The current |
Instead of 'stupid' I'd say the current system is 'primitive' :) The compiler is missing an include, so rather than |
I don't want to quibble, but setting |
In the grand old days, Homebrew installed to `/usr/local` and all was well. Now, however, while Intel Homebrew still does this, Apple Silicon / M1 / M2 Homebrew has gone and picked a new prefix: `/opt/homebrew`. A good explanation of the rationale is at https://earthly.dev/blog/homebrew-on-m1/. Basically, Homebrew had to admit that Fink and MacPorts were right. :-P The solution is to call `brew --prefix` and add those libraries explicitly to the search list. Keep going if brew is not installed. This addresses #252.
Hi, I fixed this a while ago in my |
In the grand old days, Homebrew installed to `/usr/local` and all was well. Now, however, while Intel Homebrew still does this, Apple Silicon / M1 / M2 Homebrew has gone and picked a new prefix: `/opt/homebrew`. A good explanation of the rationale is at https://earthly.dev/blog/homebrew-on-m1/. Basically, Homebrew had to admit that Fink and MacPorts were right. :-P The solution is to call `brew --prefix` and add those libraries explicitly to the search list. Keep going if brew is not installed. This addresses #252.
I can confirm I have the directory /opt/homebrew/include/boost/ |
You could have a look at the setup.py, where it specifies the include path and library path, and hack in your local directories there. |
Still have boost/python.hpp not found error. |
I would do On my machine it finds boost but complains about standard library include files:
I'll see if I can fix that too (although I suspect it's a problem confined to my computer 🙂 ). |
In the grand old days, Homebrew installed to `/usr/local` and all was well. Now, however, while Intel Homebrew still does this, Apple Silicon / M1 / M2 Homebrew has gone and picked a new prefix: `/opt/homebrew`. A good explanation of the rationale is at https://earthly.dev/blog/homebrew-on-m1/. Basically, Homebrew had to admit that Fink and MacPorts were right. :-P The solution is to call `brew --prefix` and add those libraries explicitly to the search list. Keep going if brew is not installed. This addresses #252.
On MacOS 14.1.1 M2
the installation command
python -m pip install python-casacore
returns error message of:Have installed boost with
brew install boost
Tried
--no-binary
option, still getting the same errorThe text was updated successfully, but these errors were encountered: