We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83d9d56 commit 9b4260aCopy full SHA for 9b4260a
pyaedt/desktop.py
@@ -23,7 +23,6 @@
23
import time
24
import traceback
25
import warnings
26
-from distutils.version import StrictVersion
27
28
from pyaedt import is_ironpython
29
@@ -365,7 +364,7 @@ def __init__(
365
364
print("Launching PyAEDT outside AEDT with IronPython.")
366
self._init_ironpython(non_graphical, new_desktop_session, version)
367
elif _com == "pythonnet_v3":
368
- if StrictVersion(version_key) < StrictVersion("2022.2.0") or not settings.use_grpc_api:
+ if version_key < "2022.2" or not settings.use_grpc_api:
369
print("Launching PyAEDT outside Electronics Desktop with CPython and Pythonnet")
370
self._init_cpython(
371
non_graphical,
0 commit comments