"No module named mech_dpf" error while importing mech_dpf in ACT extension

Ayush Kumar
Ayush Kumar Member, Moderator, Employee Posts: 414
First Anniversary Ansys Employee Solution Developer Community of Practice Member First Answer
edited June 2023 in Structures

I have developed an ACT extension which uses DPF for post-processing. All relevant DPF libraries are imported correctly at the beginning of the Python file:

import mech_dpf
import Ans.DataProcessing as dpf

    "math", r"C:\Program Files\ANSYS Inc\v211\aisol\bin\winx64\Ans.Dpf.Math.dll")

However, when I reload the extension I get the below shown error. This doesn't affect the result but how can I get around this error in the log?

enter image description here