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

How to install pyMatchSeries on Mac? #10

Open
PhysXu opened this issue Dec 23, 2023 · 2 comments
Open

How to install pyMatchSeries on Mac? #10

PhysXu opened this issue Dec 23, 2023 · 2 comments

Comments

@PhysXu
Copy link

PhysXu commented Dec 23, 2023

Hi, thanks very much for this package.
Recently, I wanted to install pyMatchSeries on my Macbook via Anaconda, but always failed.
When I run "conda install -c conda-forge match-series" after "pip install --user pyMatchSeries", it always told me as follows:
image

Is there any way to solve this problem?
My machine is MacBook Air with Apple M1 and the macOS Sonoma of 14.2.1

@din14970
Copy link
Owner

Hi, match-series is a C++ package which must be installed separately from pymatchseries. It can be installed via conda https://anaconda.org/conda-forge/match-series but unfortunately it has not been compiled for osx-arm64 CPUs, so at the moment this will not work for you. Your options are to either make a pull request to the match series conda forge feedstock to enable a build for your CPU architecture: https://github.com/conda-forge/match-series-feedstock. Alternatively you can try to compile the package locally, following the instructions on the repository readme https://github.com/berkels/match-series, and asking for directions there. The only other option is to run your code in a virtual machine, preferably ubuntu or so, that emulates an X86 CPU architecture.

@PhysXu
Copy link
Author

PhysXu commented Dec 25, 2023

Hi, match-series is a C++ package which must be installed separately from pymatchseries. It can be installed via conda https://anaconda.org/conda-forge/match-series but unfortunately it has not been compiled for osx-arm64 CPUs, so at the moment this will not work for you. Your options are to either make a pull request to the match series conda forge feedstock to enable a build for your CPU architecture: https://github.com/conda-forge/match-series-feedstock. Alternatively you can try to compile the package locally, following the instructions on the repository readme https://github.com/berkels/match-series, and asking for directions there. The only other option is to run your code in a virtual machine, preferably ubuntu or so, that emulates an X86 CPU architecture.

Thanks very much for your reply.
I will try your suggestions later.

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

2 participants