Creating executable (.exe) Python code for Plaxis

Hello,

I have written an add-on program for Plaxis for designing retaining walls. The program works OK and now I want to convert it to a ".exe" file to distribute it in the company. 

I'm converting my Plaxis code to ".exe" using the simple PyInstaller procedure described in here: "https://kivy.org/doc/stable/guide/packaging-windows.html"

However, this procedure does not work for me and I realized that the reason is I'm importing Plaxis libraries in my Python code:

from plxscripting.easy import *
import plxscripting.easy



As soon as I delete these two lines, the procedure works and my .exe file runs okay (obviously wont run a Plaxis code as I have deleted Plaxis libraries).

So I wanna know what I need to do to fix this issue. Potentially I need to import something from Plaxis libraries to the ".spec" file? (maybe I'm wrong)


Thank you very much