Skip to content

Fix dynamic module import error#48

Open
benjaminalt wants to merge 1 commit into
joschu:masterfrom
benjaminalt:fix-trajoptpy-init-import
Open

Fix dynamic module import error#48
benjaminalt wants to merge 1 commit into
joschu:masterfrom
benjaminalt:fix-trajoptpy-init-import

Conversation

@benjaminalt

Copy link
Copy Markdown

Fixes #47:

ctrajoptpy threw "ImportError: dynamic module does not define init function (initctrajoptpy)" on import. This was due to the "-fvisibility=hidden" compiler flag.

Fix ImportError thrown when importing ctrajoptpy (module could be found, but __init__ not due to symbols being hidden)
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 this pull request may close these issues.

ImportError: dynamic module does not define init function (initctrajoptpy)

1 participant