The gdx folder contains functions that allow your program to communicate with Vernier’s Go Direct sensors. When you add the from gdx import gdx code to your Python program, it will look for the gdx folder in one of two places: co-located with your program file, or in the site packages folder for your Python installation.

Use this terminal command to identify where Python is looking for modules. Then move or copy the gdx to the site-packages folder. python -m site --user-site

Coding with Vernier Sensors and Python - Troubleshooting and FAQs