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

Installation fails on Apple Silicon (ARM64) MacBook Pro #319

Open
chrisstuartparry opened this issue Jul 27, 2023 · 3 comments
Open

Installation fails on Apple Silicon (ARM64) MacBook Pro #319

chrisstuartparry opened this issue Jul 27, 2023 · 3 comments

Comments

@chrisstuartparry
Copy link

When following the instructions in the readthedocs, the following line fails:

mamba install -c fusion-energy -c cadquery -c conda-forge paramak=0.8.7

with the following output:

Could not solve for environment specs 
The following package could not be installed 
L paramak 0.8.7** does not exist (perhaps a typo or a missing channel).

I'm guessing this is because an ARM build doesn't exist yet? Will try developer install.

@shimwell
Copy link
Member

Sorry I don’t think this was an option on conda when i did the last release. I can take a look for the next release. Do let me know if the developer install works for you

@chrisstuartparry
Copy link
Author

chrisstuartparry commented Jul 27, 2023

I got it installed via pip install -e . in the relevant directory (~/repositories/paramak) on my machine. However, run_tests.sh fails. Firstly as pytest isn't installed when installing paramak this way, and secondly (after I installed pytest via mamba), because the directory examples_tests isn't found. It also says that there's an error in the usage of pytest as it "contains unrecognized arguments: --cov=paramak --cov-append --cov-report term --cov-report xml". Let me know if you want my entire output from this.

@shimwell
Copy link
Member

shimwell commented Jul 27, 2023

oh yes I should update the developer install details to say

pip install -e .[tests]

instead of

pip install -e .

and I should add a line saying run the tests with this command

pytest tests

I can perhaps also delete that old run_tests.sh file

thanks for all the details

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