python4delphi
python4delphi copied to clipboard
Error while import a python package called h5py
Good morning, I try to use C++ demo20 to test the import of lib H5PY but I have the following message from console when I execute these lines; "import os import time import copy import numpy as np np.set_printoptions(precision=6, threshold=20, suppress=True, linewidth=100)
import h5py"
Error message is:
Traceback (most recent call last):
File "
Any idea on how to fix it please?
Did you set the Python engine correctly?
Hi @lmbelo, As I used directly the demo20, the engine is set correctly. There is no import issue when I load only "numpy" or with another python package i used. I knew there is an issue with scientific python lib so i applied the function "MaskFPUExceptions(true);".
The problem concerns clearly "h5py".