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 9 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 9 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

  • Sun, 02/01/2026 - 19:47
    gurux.dlms.cpp 9.0.2602.0101
  • Tue, 01/20/2026 - 10:38
    gurux.dlms.java 4.0.89
  • 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

New forum topics

  • Issue with KWH Value Reading Using Gurux DLMS Library.
  • CEWE Prometer 100
  • Kaifa Meter Communication via Android Application
  • OnePassDiffieHellman Key Agreement Not Working in GXDLMSDirector GUI
  • Parse compact frame CF49
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin