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

MacOS wheel for Python 3.12 fails import #8

Open
rikardn opened this issue Nov 20, 2023 · 0 comments
Open

MacOS wheel for Python 3.12 fails import #8

rikardn opened this issue Nov 20, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@rikardn
Copy link
Contributor

rikardn commented Nov 20, 2023

.tox/unit/lib/python3.12/site-packages/pharmpy/tools/funcs/ml.py:284: in _predict_with_tflite
    import tflite_runtime.interpreter as tflite
.tox/unit/lib/python3.12/site-packages/tflite_runtime/interpreter.py:33: in <module>
    from tflite_runtime import _pywrap_tensorflow_interpreter_wrapper as _interpreter_wrapper
E   ImportError: Python version mismatch: module was compiled for Python 3.10, but the interpreter version is incompatible: 3.12.0 (v3.12.0:0fb18b02c8, Oct  2 2023, 09:45:56) [Clang 13.0.0 (clang-1300.0.29.30)].
@rikardn rikardn added the bug Something isn't working label Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant