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

Cannot Import MMA from pyMMA #63

Open
nettelbladt opened this issue Jun 30, 2023 · 0 comments
Open

Cannot Import MMA from pyMMA #63

nettelbladt opened this issue Jun 30, 2023 · 0 comments

Comments

@nettelbladt
Copy link

Hello!

I Installed the pyOpt package as the instructions prescribe, but all shared libraries fail to import. Here is a sample trace for the MMA package. I am working on a M1 Max MacBook Pro.

Traceback (most recent call last):
  File "/Users/nettel/miniforge3/envs/topology-optim/lib/python3.11/site-packages/pyOpt/pyMMA/pyMMA.py", line 43, in <module>
    from . import mma
ImportError: dlopen(/Users/nettel/miniforge3/envs/topology-optim/lib/python3.11/site-packages/pyOpt/pyMMA/mma.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '_mma_'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/nettel/code/MMAstructures/pyMMAcode.py", line 3, in <module>
    from pyOpt.pyMMA import pyMMA
  File "/Users/nettel/miniforge3/envs/topology-optim/lib/python3.11/site-packages/pyOpt/pyMMA/pyMMA.py", line 45, in <module>
    raise ImportError('MMA shared library failed to import')
ImportError: MMA shared library failed to import

Apologies if I am not providing enough information, I am not entirely sure what I am doing!

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

1 participant