Trying to use Paho Python Client

Hi
I am new to MQTT and will be developing an ESP32 solution.
I have created a free Hive Cluster and got my TLS MQTT URL for use with TLS on port 8883
I have created 2 Usernames with passwords for Publish and Subscribe with the aim of testing sending and receiving messages between them.
My next step was to develop a couple of test clients using Python to play with and get a better understanding.
I have been trying to follow Implementing MQTT in Python but falling at the first step.

pip3 install paho-mqtt<2.0.0
The system cannot find the file specified.

So I removed the <2.0.0 and it installed (2.1.1.dev0)

C:\Users\micha\Documents\Cybertek\Python MQTT Client>pip3 show paho-mqtt
Name: paho-mqtt
Version: 2.1.1.dev0
Summary: MQTT version 5.0/3.1.1 client class
Home-page:
Author:
Author-email: Roger Light roger@atchoo.org
License: EPL-2.0 OR BSD-3-Clause
Location: c:\users\micha\appdata\local\programs\python\python39\lib\site-packages
Editable project location: C:\Users\micha\Documents\Cybertek\Python MQTT Client\paho.mqtt.python
Requires:
Required-by:

Now in my app.py the first line has an error
import paho.mqtt.client as paho

Exception has occurred: ModuleNotFoundError
No module named ‘paho’
import paho.mqtt.client as paho
ModuleNotFoundError: No module named ‘paho’

Please help

Hello @MichaelS

Welcome to the HiveMQ Community! The error you’re encountering indicates that the paho-mqtt module is not installed in your Python environment.

Are you installing the module in the same Python environment that your application is using? Make sure to correct Python environment if you are using a virtual environment.

Kind regards,
Diego from HiveMQ Team

I managed to get this sorted by setting up in vscode where I could run

pip3 install paho-mqtt<2.0.0

…successfully
Thanks