Cryptic error message when using wrong Python version
Issue #936
wontfix
Running import fenics
using Python 2 with a Python 3-based FEniCS gives a cryptic error message:
def _attach_base_to_numpy_array(obj: 'PyObject *', owner: 'PyObject *') -> "PyObject *":
We should add a more user-friendly error message that reminds the user about which version of Python to use.
Comments (4)
-
-
Error message is from SWIG - I'm not inclined to make a change, so unless someone volunteers I'll close this shortly.
-
-
- changed status to wontfix
No volunteers, and will be invalid once SWIG is removed.
- Log in to comment
Well, we won't support Python 2 in next next release. Is it worth solving it now?