Output observed:
pi@pi-top:~ $ python3
Python 3.7.3 (default, Jul 25 2020, 13:03:44)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> help("modules")
Please wait a moment while I gather a list of all available modules...
/usr/lib/python3/dist-packages/IPython/kernel/__init__.py:13: ShimWarning: The `IPython.kernel` package has been deprecated since IPython 4.0.You should import from ipykernel or jupyter_client instead.
"You should import from ipykernel or jupyter_client instead.", ShimWarning)
Warning, could not find Analog or Touch...
Please check your i2c settings!
Assessment
/usr/lib/python3/dist-packages/IPython/kernel/init.py:13: ShimWarning: The IPython.kernel
package has been deprecated since IPython 4.0.You should import from ipykernel or jupyter_client instead.
“You should import from ipykernel or jupyter_client instead.”, ShimWarning)
This is just a deprecation warning, and is safe to ignore.
Warning, could not find Analog or Touch…
Please check your i2c settings!
This is coming from /usr/lib/python3/dist-packages/explorerhat/__init__.py
:
if has_captouch and has_analog:
print("Explorer HAT Pro detected...")
explorer_pro = True
elif has_captouch and not has_analog:
print("Explorer HAT Basic detected...")
elif has_analog and not has_captouch:
print("Explorer pHAT detected...")
explorer_phat = True
else:
exit("Warning, could not find Analog or Touch...\nPlease check your i2c settings!")
You would need to explore this yourself, if you are bothered by it. Nothing is broken - it is just printing things while importing modules.