Use qgis-venv-creator, a Gispo Coding project that helps a lot to generate a Python virtual environment to work on QGIS plugins.
See the full tutorial:
Use qgis-venv-creator, a Gispo Coding project that helps a lot to generate a Python virtual environment to work on QGIS plugins.
See the full tutorial: