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 1 month 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 1 month 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.

  • Log in or register to post comments
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Thu, 06/19/2025 - 09:33
    Gurux.DLMS.Python 1.0.185
  • Wed, 06/18/2025 - 15:11
    Gurux.DLMS.Python 1.0.184
  • Wed, 06/18/2025 - 10:05
    Gurux.DLMS.Python 1.0.183
  • Wed, 06/18/2025 - 09:06
    GXDLMSDirector 9.0.2506.1801
  • Wed, 06/18/2025 - 08:41
    Gurux.DLMS.Net 9.0.2506.1801

New forum topics

  • Unable to read parameter values from Landis+Gyr E550 meter using GXDLMSDirector - NoAccess status
  • data.SetComplete(false); But all data recieved
  • Crash (endless loop)
  • Server is not able to download object list with maxPduSize 64 or 128 (or anything below 156-bytes PDU size)
  • Day profile action item add error (String is not recognized as valid DateTime value)
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin