alexa-samples / Alexa-Gadgets-Raspberry-Pi-Samples

This repository enables you to prototype an Alexa Gadget using Raspberry Pi. It includes Python-based software, sample projects, and step-by-step instructional guides that walk you through how to use key features of the Alexa Gadgets Toolkit to create new, engaging customer interactions with gadget devices.
Other
91 stars 29 forks source link

Launch.py broken because of pip unsupported usage. #27

Open fedeblock opened 2 years ago

fedeblock commented 2 years ago

Importing functions from pip is not supported.

https://pip.pypa.io/en/latest/user_guide/#using-pip-from-your-program

Traceback (most recent call last): File "launch.py", line 15, in from pip._internal.utils.misc import get_installed_distributions ModuleNotFoundError: No module named 'pip._internal

It may be solved using importlib_metadata instead.