Python "modules" error pi-top[4] + Foundation Plate

I am trying to list the installed modules in the python 2,7 and python 3 from the SDK. I am getting the following errors;

help(“modules”)

Please wait a moment while I gather a list of all available modules…

Warning, could not find Analog or Touch…
Please check your i2c settings!
pi@pi-top:~ $

I checked that I have the latest SDK python3 installed and have updated the pi-top to the latest software update. I get the same error using python 2.7 as well. It exits to terminal shell.

Any help is appreciated.
EDIT***** I am running headless over VNC.

Note;

Looks like another update. I have installed it and now getting this error;

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!
pi@pi-top:~ $

EDIT***** I am running headless over VNC.

@oviking99 can you give me a full list of commands you are running in the terminal to get these errors?

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.

I’m not sure what is happening when I copy and past the terminal session into the editor here. Forgive me. Something to do with the escape characters? I’m not familiar with this editor. I will try again. The “help modules” should look like the python CLI: >>>help (“modules”).
The pip freeze command works, but not the help modules command from python help, it returns to bash without listing the modules.

BTW; It is no big deal, as I can retrieve the modules listing from pip freeze, the modules work, just listing from python help does not.

pi@pi-top:~ $ python
Python 2.7.16 (default, Oct 10 2019, 22:02:15)
[GCC 8.3.0] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.

help(“modules”)

Please wait a moment while I gather a list of all available modules…

Warning, could not find Analog or Touch…
Please check your i2c settings!
pi@pi-top:~ $

pi@pi-top:~ $ pip freeze

arandr==0.1.9
asn1crypto==0.24.0
automationhat==0.2.0
blinker==1.4
blinkt==0.1.2
buttonshim==0.0.2
Cap1xxx==0.1.3