Skip to content

pantheon-cli fails to launch #25

@manujchandra

Description

@manujchandra

Hi, I am using Debian 12 with an Anaconda environment with python 3.14

When I execute:

pantheon-cli --version

I get the following error:

/home/manuj/anaconda3/envs/pantheon/lib/python3.14/site-packages/fire/inspectutils.py:348: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead
  return asyncio.iscoroutinefunction(fn)
Traceback (most recent call last):
  File "/home/manuj/anaconda3/envs/pantheon/bin/pantheon-cli", line 7, in <module>
    sys.exit(cli_main())
             ~~~~~~~~^^
  File "/home/manuj/anaconda3/envs/pantheon/lib/python3.14/site-packages/pantheon_cli/__init__.py", line 9, in cli_main
    cli()
    ~~~^^
  File "/home/manuj/anaconda3/envs/pantheon/lib/python3.14/site-packages/pantheon_cli/cli/core.py", line 789, in cli
    fire.Fire(main)
    ~~~~~~~~~^^^^^^
  File "/home/manuj/anaconda3/envs/pantheon/lib/python3.14/site-packages/fire/core.py", line 135, in Fire
    component_trace = _Fire(component, args, parsed_flag_args, context, name)
  File "/home/manuj/anaconda3/envs/pantheon/lib/python3.14/site-packages/fire/core.py", line 468, in _Fire
    component, remaining_args = _CallAndUpdateTrace(
                                ~~~~~~~~~~~~~~~~~~~^
        component,
        ^^^^^^^^^^
    ...<2 lines>...
        treatment='class' if is_class else 'routine',
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        target=component.__name__)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/manuj/anaconda3/envs/pantheon/lib/python3.14/site-packages/fire/core.py", line 681, in _CallAndUpdateTrace
    loop = asyncio.get_event_loop()
  File "/home/manuj/anaconda3/envs/pantheon/lib/python3.14/asyncio/events.py", line 715, in get_event_loop
    raise RuntimeError('There is no current event loop in thread %r.'
                       % threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.```

Please help.

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