pyscripter / python4delphi

Free components that wrap up Python into Delphi and Lazarus (FPC)
MIT License
895 stars 307 forks source link

Error importing packges, e.g. import cv2 fails #420

Closed HoLue closed 1 year ago

HoLue commented 1 year ago

I used demo01 with the script import cv2 Then I get an exception of class $C000008E with the message 'c000008e FLOAT_DIVIDE_BY_ZERO'. OpenCV is installed in my current python and it works when I use it in a script. But apperntly it does not work here. How can I get this to work? (Other packages as numpy or pandas have problems, too.)

pyscripter commented 1 year ago

Please see https://github.com/pyscripter/python4delphi/wiki/MaskFPUExceptions.

HoLue commented 1 year ago

Please see https://github.com/pyscripter/python4delphi/wiki/MaskFPUExceptions.

Thanks!!