Closed Duck-Joke closed 1 week ago
adb-shell[usb]==0.4.4
in your requirements.txt
-U
(Upgrade) flag to the package in your requirements.txt
--force
flag to the package in your requirements.txt
from pip._internal import main as pipmain
pipmain(['uninstall', 'adb-shell'])
pipmain(['install', 'adb-shell[usb]'])
worked, thank you 🙏
is there a supported way of uninstalling packages installed through the "requirements" file? I mistakenly installed the adb-shell package, and now attempting to install adb-shell[usb] is giving me the "adb-shell[usb] wasn't able to be installed" error, presumably because of a conflict. I have encountered similar issues before with other libraries as well.
Did I miss a crucial part of the pyscript documentation? Or is there a way to access pip in console? (I am on raspberryPI 4 with Home Assistant OS)