How to Install and Uninstall python310-nest-asyncio Package on openSuSE Tumbleweed
Last updated: November 08,2024
1. Install "python310-nest-asyncio" package
Here is a brief guide to show you how to install python310-nest-asyncio on openSuSE Tumbleweed
$
sudo zypper refresh
Copied
$
sudo zypper install
python310-nest-asyncio
Copied
2. Uninstall "python310-nest-asyncio" package
Here is a brief guide to show you how to uninstall python310-nest-asyncio on openSuSE Tumbleweed:
$
sudo zypper remove
python310-nest-asyncio
Copied
3. Information about the python310-nest-asyncio package on openSuSE Tumbleweed
Information for package python310-nest-asyncio:
-----------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python310-nest-asyncio
Version : 1.6.0-1.4
Arch : noarch
Vendor : openSUSE
Installed Size : 19.8 KiB
Installed : No
Status : not installed
Source package : python-nest-asyncio-1.6.0-1.4.src
Upstream URL : https://github.com/erdewit/nest_asyncio
Summary : Patch asyncio to allow nested event loops
Description :
By design asyncio `does not allow`_
its event loop to be nested. This presents a practical problem:
When in an environment where the event loop is
already running it's impossible to run tasks and wait
for the result. Trying to do so will give the error
"``RuntimeError: This event loop is already running``".
The issue pops up in various environments, such as web servers,
GUI applications and in Jupyter notebooks.
This module patches asyncio to allow nested use of ``asyncio.run`` and
``loop.run_until_complete``.
-----------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python310-nest-asyncio
Version : 1.6.0-1.4
Arch : noarch
Vendor : openSUSE
Installed Size : 19.8 KiB
Installed : No
Status : not installed
Source package : python-nest-asyncio-1.6.0-1.4.src
Upstream URL : https://github.com/erdewit/nest_asyncio
Summary : Patch asyncio to allow nested event loops
Description :
By design asyncio `does not allow
its event loop to be nested. This presents a practical problem:
When in an environment where the event loop is
already running it's impossible to run tasks and wait
for the result. Trying to do so will give the error
"``RuntimeError: This event loop is already running``".
The issue pops up in various environments, such as web servers,
GUI applications and in Jupyter notebooks.
This module patches asyncio to allow nested use of ``asyncio.run`` and
``loop.run_until_complete``.