Traceback (most recent call last):



 "<ipython-input-4-05b902f27e78>", line 1, in <module>

ses.connect(port=7496, timeout=3)



 "C:\Users\Admin\anaconda3\envs\tensorflow_env_gpu\lib\site-packages\ib_insync\ib.py", line 272, in connect

host, port, clientId, timeout, readonly, account))



 "C:\Users\Admin\anaconda3\envs\tensorflow_env_gpu\lib\site-packages\ib_insync\ib.py", line 310, in _run

return util.run(*awaitables, timeout=self.RequestTimeout)



 "C:\Users\Admin\anaconda3\envs\tensorflow_env_gpu\lib\site-packages\ib_insync\util.py", line 322, in run

result = loop.run_until_complete(task)



 "C:\Users\Admin\anaconda3\envs\tensorflow_env_gpu\lib\asyncio\base_events.py", line 563, in run_until_complete

self._check_runnung()



 "C:\Users\Admin\anaconda3\envs\tensorflow_env_gpu\lib\asyncio\base_events.py", line 523, in _check_runnung

raise RuntimeError('This event loop is already running')

RuntimeError: This event loop is already running
Traceback (most recent call last):


 "/snap/microk8s/1864/scripts/wrappers/enable.py", line 43, in <module>

enable(prog_name='microk8s enable')


 "/snap/microk8s/1864/usr/lib/python3/dist-packages/click/core.py", line 716, in __call__

return self.main(*args, **kwargs)


 "/snap/microk8s/1864/usr/lib/python3/dist-packages/click/core.py", line 675, in main

_verify_python3_env()


 "/snap/microk8s/1864/usr/lib/python3/dist-packages/click/_unicodefun.py", line 119, in _verify_python3_env

'mitigation steps.' + extra)
RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment.
Either run this under Python 2 or consult http://click.pocoo.org/python3/ for mitigation steps.
