Skip to content

Compatibility issue with newer Python versions (Python 3.12+) - SafeConfigParser Import Error #108

Description

@lerryjohn

Hi there,

Thank you for creating this amazing tool! I am very interested in using PyZDDE for my optical design and automation workflows.

However, I encountered an issue when trying to import pyzdde.zdde on a newer version of Python (Python 3.14.5). The installation via pip was successful, but importing it raises the following error:

ImportError: cannot import name 'SafeConfigParser' from 'configparser'

It seems that SafeConfigParser was deprecated and removed in recent Python versions (Python 3.12+), and it is now just ConfigParser.

Could you please consider updating the code to support newer Python versions? Many users are now on Python 3.12 or above and would love to keep using your great work!

Looking forward to your thoughts. Thanks again!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions