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

Apply patch for #1684: PYBIND11_FINDPYTHON=ON #1695

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

franzpoeschel
Copy link
Contributor

Pre-built wheel installations for 0.16.0 currently may fail importing into a Python environment without this due to wrongly-detected Python paths:

> python
Python 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import openpmd_api
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/franzpoeschel/git-repos-no-sync/env/lib/python3.10/site-packages/openpmd_api/__init__.py", line 1, in <module>
    from . import openpmd_api_cxx as cxx
ImportError: cannot import name 'openpmd_api_cxx' from partially initialized module 'openpmd_api' (most likely due to a circular import) (/home/franzpoeschel/git-repos-no-sync/env/lib/python3.1
0/site-packages/openpmd_api/__init__.py)

@franzpoeschel franzpoeschel merged commit 378b7c5 into openPMD:wheels Nov 12, 2024
2 of 3 checks passed
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.

1 participant