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

m1 install issue #441

Closed
joamatab opened this issue Jul 22, 2022 · 2 comments · Fixed by #452
Closed

m1 install issue #441

joamatab opened this issue Jul 22, 2022 · 2 comments · Fixed by #452
Assignees

Comments

@joamatab
Copy link
Contributor

joamatab commented Jul 22, 2022

When installing tidy3d-beta on M1 macOs there is an issue installing nlopt

To reproduce:

  • install mamba
  • run pip install tidy3d-beta

Screen Shot 2022-07-22 at 14 13 44

Screen Shot 2022-07-22 at 14 18 48

to fix

  1. mamba install nlopt
  2. pip install tidy3d-beta

ideas to fix this:

  • provide a conda package for tidy3d
  • make nlopt an optional dependency
  • publish nlopt wheels to pypi with no architecture
@joamatab
Copy link
Contributor Author

joamatab commented Jul 22, 2022

related to stevengj/nlopt#439

and

DanielBok/nlopt-python#13

@momchil-flex
Copy link
Collaborator

Thanks! I think we should make nlopt optional. This goes together with something we discussed with @tylerflex recently, which is not importing the plugins in the main tidy3d.__init__. nlopt is only used in the dispersive material fitter.

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

Successfully merging a pull request may close this issue.

2 participants