2020-09-04, 09:57
Little scheme
Kodi 18 >> works only with python 2
Kodi 19 >> works only with python 3
if you have installed both python enviroments
you have to manage the packages in both enviroments, depends what you need
i think you should install the pip for python 3 only
sudo apt-get install python3-pip
then install pycryptodomex to python 3:
pip3 install pycryptodomex
or if not works again (before uninstall the package) you can try:
pip3 install --user pycryptodomex
i do not know if these info can help you
PS:
perhaps it is possible avoid install another package (python3-pip) and use these commands (not tested but you can try):
python3 -m pip install package
python -m pip install package
Kodi 18 >> works only with python 2
Kodi 19 >> works only with python 3
if you have installed both python enviroments
you have to manage the packages in both enviroments, depends what you need
i think you should install the pip for python 3 only
sudo apt-get install python3-pip
then install pycryptodomex to python 3:
pip3 install pycryptodomex
or if not works again (before uninstall the package) you can try:
pip3 install --user pycryptodomex
i do not know if these info can help you
PS:
perhaps it is possible avoid install another package (python3-pip) and use these commands (not tested but you can try):
python3 -m pip install package
python -m pip install package