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

Python: fix clash with scipy 1.12's version of FMM #62

Closed
alugowski opened this issue Dec 20, 2023 · 1 comment · Fixed by #63
Closed

Python: fix clash with scipy 1.12's version of FMM #62

alugowski opened this issue Dec 20, 2023 · 1 comment · Fixed by #63

Comments

@alugowski
Copy link
Owner

  ../venv/lib/python3.9/site-packages/scipy/io/_fast_matrix_market/__init__.py:354: in mmread
      cursor, stream_to_close = _get_read_cursor(source)
  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
  
  source = <_io.StringIO object at 0x7f5e158cbee0>, parallelism = None
  
      def _get_read_cursor(source, parallelism=None):
          """
          Open file for reading.
          """
  >       from . import _fmm_core
  E       ImportError: generic_type: type "header" is already registered!
@alugowski
Copy link
Owner Author

See the module local section of https://pybind11.readthedocs.io/en/stable/advanced/classes.html

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.

1 participant