We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There is an issue with FORTAN libraries replacing signal handlers and not being able to recover them:
http://stackoverflow.com/questions/15457786/ctrl-c-crashes-python-after-importing-scipy-stats
The solution is to
Add to climin/__init__.py:
climin/__init__.py
if sys.platform == 'win32': basepath = imp.find_module('numpy')[1] ctypes.CDLL(os.path.join(basepath, 'core', 'libmmd.dll')) ctypes.CDLL(os.path.join(basepath, 'core', 'libifcoremd.dll'))
And then extend OnSignal with
OnSignal
import win32api win32api.SetConsoleCtrlHandler(self._console_ctrl_handler, 1)
in the windows case.
After that, climin has to be imported before scipy by the user.
The text was updated successfully, but these errors were encountered:
Has been added to init.py.
Sorry, something went wrong.
No branches or pull requests
There is an issue with FORTAN libraries replacing signal handlers and not being able to recover them:
http://stackoverflow.com/questions/15457786/ctrl-c-crashes-python-after-importing-scipy-stats
The solution is to
Add to
climin/__init__.py
:And then extend
OnSignal
within the windows case.
After that, climin has to be imported before scipy by the user.
The text was updated successfully, but these errors were encountered: