Aug-09-2023, 04:19 AM
I did do the install using the pip command and when i run the sample code from the site i get this error:
Error: File J:\ProgramData\Anaconda3\Lib\site-packages\spyder_kernels\py3compat.py:356 in compat_exec
exec(code, globals, locals)
File i:\projects\python\pingregisters\subprocess.py:73
hosts = multiping(['10.0.0.5', '127.0.0.1', '::1'])
File J:\ProgramData\Anaconda3\Lib\site-packages\icmplib\multiping.py:267 in multiping
return asyncio.run(
File J:\ProgramData\Anaconda3\Lib\asyncio\runners.py:186 in run
raise RuntimeError(
RuntimeError: asyncio.run() cannot be called from a running event loop