When trying to import radical.utils using python 3.11 I got the following error. I also tried with 3.9.13 and it was successful.
Output exceeds the size limit. Open the full output data in a text editor
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
Cell In[11], line 6
3 import signal
4 import threading as mt
----> 6 import radical.pilot as rp
7 import radical.utils as ru
File /opt/homebrew/lib/python3.11/site-packages/radical/pilot/__init__.py:9
3 __license__ = "MIT"
5 # ------------------------------------------------------------------------------
6 # we *first* import radical.utils, so that the monkeypatching of the logger has
7 # a chance to kick in before the logging module is pulled by any other 3rd party
8 # module, and also to monkeypatch `os.fork()` for the `atfork` functionality
----> 9 import radical.utils as _ru
11 # ------------------------------------------------------------------------------
12 # constants and types
13 from .states import *
File /opt/homebrew/lib/python3.11/site-packages/radical/utils/__init__.py:18
16 # import utility classes
17 from .object_cache import ObjectCache
---> 18 from .plugin_manager import PluginManager, PluginBase
19 from .singleton import Singleton
20 from .heartbeat import Heartbeat
...
--> 175 from inspect import getargspec, isclass
176 from re import compile as regex
177 from functools import wraps
ImportError: cannot import name 'getargspec' from 'inspect' (/opt/homebrew/Cellar/python@3.11/3.11.0/Frameworks/Python.framework/Versions/3.11/lib/python3.11/inspect.py)
When trying to import radical.utils using python 3.11 I got the following error. I also tried with 3.9.13 and it was successful.