Importing classes/functions from scripts I built while coding a new module crashes it

While writing a new module in a new extension using python I want to be able to use classes and\or functions from outer scripts (.py file) which I wrote by using:
“from FolderName.FileName import FunctionName”

Every time I add the above line or even the known “from enum import Enum” the module crashes and isn’t shown in 3d slicer.
(“import numpy as np” works)

Needless to say that the above mentions code-lines are perfectly working in simple python codes (no 3d-slicer association)

How can I fix this problem?
Thanks, Yana.

from enum import Enum works perfectly for me. What Slicer version and operating system do you use?

3D-Slicer version:4.10.1
operating system: windows 10 pro

Please use most recent Slicer Preview Release and let us know if you find any issues.