-
Notifications
You must be signed in to change notification settings - Fork 34
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
error: command '/usr/bin/clang++' failed with exit code 1 #772
Comments
The package is archived and I think it only supported Intel macos and Python 3.7, which was never ported to ARM macs. |
Many thanks for the reply. My current version of pyrhon is :
And I will go through the links now. |
Hello, I did what I could do so far and also asked my professor. I am currently using the Mac Apple M1. Should I download the SeismicMesh file following the link https://pypi.org/project/SeismicMesh/3.6.2/#files and install through it again? Or there is no way I can use this package on my laptop :( |
The package is archived, which means no one can update it or even open an issue. If you want to resurrect it, you'll likely need to fork it and maintain your own copy. Unless you are willing to do that, you'll probably want to look around for a maintained library instead. I think the problem you are initially facing is that homebrew on Apple Silicon installs to export LIBRARY_PATH=$LIBRARY_PATH:/opt/homebrew/lib
export INCLUDE_PATH=$INCLUDE_PATH:/opt/homebrew/include Edit: it's not respecting those variables; even on an Intel Mac it needs But no promises for abandonware! |
Also, I recommend using a non-Conda Python if you are not installing with conda, especially if you are building packages from source. Conda's packages are compiled with it's own compiler stack, and it's really only designed to be used with Conda-build in a controlled environment (like the one conda-forge uses). You can get Python from official installers, homebrew, etc. But so far, that's not your problem (and it probably is fine most of the time). |
I was able to get it to build on 3.12 (on Intel, no idea if it works) by cloning it, and adding the following hard coded paths to [build_ext]
include-dirs = /usr/local/include
library-dirs = /usr/local/lib (You'll want to replace If you want to fork and maintain, a better solution would be to switch to scikit-build-core; there's already a CMakeLists, you'd just need to update that, and CMake would find the libraries for you. I can start that if you are interested, but I can't maintain long-term. ;) |
Many thanks!!!! Will hae a look now |
Thanks a lot!!!!! It works by using this method!!! I do appreciate your time! thanksss
|
I've tried making a scikit-build-core version, would you like to try:
? Changes: acse-yw11823/SeismicMesh@a9482b0 |
Oops, forgot pybind11. Added. |
Hello, this might be a bit random but I have a ROL-related error when I running the seismic imaging model.
And this is my error:
I tried to solve it but no idea for now. By any chance, you might be familiar with this error. If you are not familiar that would be fine. I posted the discussion on PYROL GitHub but it seems like no one is there :( Many thanks |
Don’t know much about it, but from the pybind11 generated error message, the arguments here are wrong: |
Problem description
Hello, I am using the following to install the SeismicMesh but I meet the error, tried 3 hours to solve it now, pls help me
code
error:
and I installed gmp where :
and I edited the terminal where
The text was updated successfully, but these errors were encountered: