Skip to content

Update package for use in new versions of Python #6

@mojikarimi

Description

@mojikarimi

Update package

This version of Nortek-Python does not support Python version 3 well and some of the libraries and modules used in it are obsolete and those libraries are no longer available.

For example:

  • UserDict

Or even to import, according to the example(from nortek.controls import PdControl), we encounter the following error, which does not allow working with this package at first.

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python312\Lib\site-packages\nortek\controls.py", line 12, in <module>
    import win32com.client as _wc
  File "C:\Python312\Lib\site-packages\win32com\__init__.py", line 8, in <module>
    import pythoncom
  File "C:\Python312\Lib\site-packages\pythoncom.py", line 2, in <module>
    import pywintypes
  File "C:\Python312\Lib\pywintypes.py", line 130, in <module>
    __import_pywin32_system_module__("pywintypes", globals())
  File "C:\Python312\Lib\pywintypes.py", line 101, in __import_pywin32_system_module__
    raise ImportError("No system module '%s' (%s)" % (modname, filename))
ImportError: No system module 'pywintypes' (pywintypes312.dll)

Hint: This has also been done for lower versions of Python and we have encountered the same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions