Skip to main content
Home
for DLMS smart meters

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Issue With Executable Generation Using PyInstaller.

Issue with Executable Generation using PyInstaller.

By Ali_nk, 3 May, 2024
Forums
General discussion

Hi,

I generated the main.py executable file using Gurux.DLMS.Client.Example.python\main.py,
and it's working fine in VS Code.
However, after generating the executable using PyInstaller, I encountered this error when running the executable:

Error:
Traceback (most recent call last):
File "Gurux.DLMS.Client.Example.python\main.py", line 13, in <module>
ModuleNotFoundError: No module named 'GXSettings'
[14452] Failed to execute script 'main' due to an unhandled exception!

My Python version is Python 3.12.3.

Profile picture for user Kurumi

Kurumi

1 year 8 months ago

Hi, It seems like GXSettings…

Hi,

It seems like GXSettings.py is not included in the installation package. Check your arguments.

BR,
Mikko

Ali_nk

1 year 8 months ago

Hi, Thank you for your…

Hi,

Thank you for your response.

It's an issue with PyInstaller. I used cx_Freeze, and it's working now.

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Wed, 01/14/2026 - 14:29
    Gurux.DLMS.Python 1.0.196
  • Mon, 12/29/2025 - 10:38
    Gurux.Serial.Android 3.0.5
  • Mon, 12/15/2025 - 08:11
    Gurux.DLMS.Net 4.0.87
  • Fri, 12/12/2025 - 08:38
    Gurux.DLMS.Python 1.0.195
  • Thu, 12/11/2025 - 13:22
    Gurux.DLMS.Python 1.0.194

New forum topics

  • 6-digit field values from meter not fully received (only 5 digits shown)
  • Gurux DLMS Android App
  • AMR support for bidirectional meters.
  • addition of new object in object list, meter not working
  • old meter take to much time(l&t)
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin