2020-09-12, 17:24
These:
are very wrong thing to do
point a package to other name could break other scripts and also the package itself may have unexpected errors with some internal operations
Crypto and Cryptodome are similar but are two different packages
as you can see here:
https://github.com/CastagnaIT/plugin.vid...o-packages
if you have import errors means that you have a sort of mix of packages installed
then you have to remove ALL crypto packages, and if possible install only: pycryptodomex
if qnap also needs to have also the package pycrypto installed
pycryptodomex can coexist with it then you can install without problem,
but i think it would be better if i reverse the imports in the NF add-on
so as to give importance first to pycryptodomex and fallback to pycrypto
This is the modified version:
https://www.dropbox.com/s/3ngmpc3ettxmw1...x.zip?dl=0
after this i will try to elaborate your instruction
when i have done i will send you a PM
so you can read and correct any errors
and then send me back the correct document
thanks for the instructions, you succeeded where many would have abandoned
Quote:ln -s /usr/lib/python2.7/dist-packages/Crypto /usr/lib/python2.7/dist-packages/Cryptodome
pip install Padding
are very wrong thing to do
point a package to other name could break other scripts and also the package itself may have unexpected errors with some internal operations
Crypto and Cryptodome are similar but are two different packages
as you can see here:
https://github.com/CastagnaIT/plugin.vid...o-packages
if you have import errors means that you have a sort of mix of packages installed
then you have to remove ALL crypto packages, and if possible install only: pycryptodomex
if qnap also needs to have also the package pycrypto installed
pycryptodomex can coexist with it then you can install without problem,
but i think it would be better if i reverse the imports in the NF add-on
so as to give importance first to pycryptodomex and fallback to pycrypto
This is the modified version:
https://www.dropbox.com/s/3ngmpc3ettxmw1...x.zip?dl=0
after this i will try to elaborate your instruction
when i have done i will send you a PM
so you can read and correct any errors
and then send me back the correct document
thanks for the instructions, you succeeded where many would have abandoned