You are not logged in.
Pages: 1
Upon installing the xonsh package and starting it either from the bash prompt or thru chsh, shows the following warning message:
/usr/lib/python3.10/site-packages/prompt_toolkit/eventloop/utils.py:118: DeprecationWarning: There is no current event loop
return asyncio.get_event_loop_policy().get_event_loop()
Why is this?
As a side note, Arch as of now doesn't seem to supply Python 3.11.
Offline
As a side note, Arch as of now doesn't seem to supply Python 3.11.
Offline
pyman wrote:As a side note, Arch as of now doesn't seem to supply Python 3.11.
I meant the official "python" package providing the /usr/bin/python executable. For the ecosystem of different python versions there is the Virtual Envs or Anaconda or Poetry or Pyenv as a normal user which programmers would prefer. Therefore there's little point in installing the arch version separately in root.
The https://aur.archlinux.org/packages/python311 package does not replace the /usr/bin/python symlinking to /usr/binpython3.10 executable. It simply installs an additional executable /usr/bin/python3.11. Xonsh seems to refer to the system /usr/bin/python executable which would still give the same warning as it's specifically referring to the python 3.10 based script of /usr/lib/python3.10/site-packages/prompt_toolkit/eventloop/utils.py. It did when I tried form an Anaconda environment of Python 3.11 and Arch-supplied package of Xonsh.
Last edited by pyman (2023-02-14 06:07:27)
Offline
Pages: 1