2020-09-13, 11:35
@CastagnaIT tl;dr: it worked.
So, what I did is to first uninstall the pycryptodomex package with pip uninstall pycryptdomex
Of course KODI and your Netflix plugin still worked after that, which confirms my suspicion that they were running on the already by default installed PyCrypto package.
So next I removed the symbolic link. Now your first command apt-get install python-pycryptodomex did not work (sudo is not needed, because I am always root due to the chroot necessity), because the package was not known. Also a apt-get update did not change that (also it updated some stuff successfully nonetheless).
So I went for your next suggestion apt-get install python-pycryptodome and that installed everything in the right place. A folder Cryptodome was subsequently to be found at /usr/lib/python2.7/dist-packages and also a Padding.py was located in the subfolder /Util
as you can see, it is only version 3.4.7 though instead of 3.9.8 (the version number of the pycryptodomex package).
Anyhow, the most important thing is that KODI and the plugin still work as before.
So it would make sense to change my set of instructions above by eliminating the last two steps (the creation of the symbolic link and the download of Padding.py) and replacing them with a simple
apt-get install python-pycryptodome
Thanks for correcting my mistake. It didn't feel quite right to begin with (more like a hack).
Is it totally the same for your plugin if one uses the Pycryptodome package (V3.4.7) instead of Pycryptodomex package (V3.9.8)? There are no advantages or disadvantages of using one or the other?
So, what I did is to first uninstall the pycryptodomex package with pip uninstall pycryptdomex
Of course KODI and your Netflix plugin still worked after that, which confirms my suspicion that they were running on the already by default installed PyCrypto package.
So next I removed the symbolic link. Now your first command apt-get install python-pycryptodomex did not work (sudo is not needed, because I am always root due to the chroot necessity), because the package was not known. Also a apt-get update did not change that (also it updated some stuff successfully nonetheless).
So I went for your next suggestion apt-get install python-pycryptodome and that installed everything in the right place. A folder Cryptodome was subsequently to be found at /usr/lib/python2.7/dist-packages and also a Padding.py was located in the subfolder /Util
as you can see, it is only version 3.4.7 though instead of 3.9.8 (the version number of the pycryptodomex package).
Anyhow, the most important thing is that KODI and the plugin still work as before.
So it would make sense to change my set of instructions above by eliminating the last two steps (the creation of the symbolic link and the download of Padding.py) and replacing them with a simple
apt-get install python-pycryptodome
Thanks for correcting my mistake. It didn't feel quite right to begin with (more like a hack).
Is it totally the same for your plugin if one uses the Pycryptodome package (V3.4.7) instead of Pycryptodomex package (V3.9.8)? There are no advantages or disadvantages of using one or the other?