fgt-SDK icon indicating copy to clipboard operation
fgt-SDK copied to clipboard

Support Python 3.12

Open paulmueller opened this issue 1 year ago • 1 comments

Vanilla Python 3.12 is not supported at the moment due to (at least) the usage of pkg_resources:


    import Fluigent.SDK as fgt
.env/lib/python3.12/site-packages/Fluigent/SDK/__init__.py:5: in <module>
    from . import low_level
.env/lib/python3.12/site-packages/Fluigent/SDK/low_level.py:10: in <module>
    import pkg_resources
E   ModuleNotFoundError: No module named 'pkg_resources'

pkg_resources has been deprecated for quite some time and importlib.resources should be used instead. See also https://importlib-resources.readthedocs.io/en/latest/migration.html.

Workaround is to install the setuptools package.

paulmueller avatar Nov 03 '24 21:11 paulmueller

Hello,

This was first reported in #78. It had been fixed in the 24.0 release, which was withdrawn due to a bug. We should release it again soon.

Ygor-Oliveira avatar Nov 04 '24 08:11 Ygor-Oliveira