pipcook
pipcook copied to clipboard
boa: md5sum mismatch of tar archive
macOS install boa will throw a warning md5: command not found
(but it will not break installation process and the output model works well)
> node tools/install-python.js && node tools/install-requirements.js
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 50.3M 100 50.3M 0 0 4074k 0 0:00:12 0:00:12 --:--:-- 3907k
PREFIX=/Users/kyleslight/code_pool/node/test_space/test/output/node_modules/@pipcook/boa/.miniconda
./Miniconda3-latest-MacOSX-x86_64.sh: line 369: md5: command not found
WARNING: md5sum mismatch of tar archive
expected: e947884fafc78860e75e43579fa3c270
got:
Unpacking payload ...
Collecting package metadata (current_repodata.json): done
Solving environment: done
This issue seems related with version of conda: https://stackoverflow.com/questions/35930923/anaconda-failing-md5-check-for-update
@FeelyChau May I ask you to have a check?
It's not the same problem with the issue you offered.
This error message means the command md5
is not installed on your macOS, may I ask you to check the OS version?
As far as I know, this command should be pre-installed on macOS.
@FeelyChau we should make sure all the dependencies installed before running these tool scripts.
As we have done at https://github.com/alibaba/pipcook/blob/master/packages/boa/tools/check-dependence.js, we need to add the md5/md5sum to the check list, too.
As we have done at https://github.com/alibaba/pipcook/blob/master/packages/boa/tools/check-dependence.js, we need to add the md5/md5sum to the check list, too.
As a third-party of boa, it's hard to list its dependences.
It's the way to fix this problem ASAP.
Do you know the way to install md5
on macos? I try to find but failed.
@kyleslight cloud you execute these command on your mac, and put the output here?
$ sw_vers
$ ls /sbin/md5
@kyleslight cloud you execute these command on your mac, and put the output here?
$ sw_vers $ ls /sbin/md5
➜ ~ sw_vers
ProductName: Mac OS X
ProductVersion: 10.15.5
BuildVersion: 19F101
➜ ~ ls /sbin/md5
/sbin/md5
Seems /sbin
is not in my PATH
env, after appending it, the command md5
works well
➜ ~ md5 -s test
MD5 ("test") = 098f6bcd4621d373cade4e832627b4f6
@kyleslight is there any reason why the /sbin
not in the PATH?
@kyleslight cloud you execute these command on your mac, and put the output here?
$ sw_vers $ ls /sbin/md5
➜ ~ sw_vers ProductName: Mac OS X ProductVersion: 10.15.5 BuildVersion: 19F101 ➜ ~ ls /sbin/md5 /sbin/md5
Seems
/sbin
is not in myPATH
env, after appending it, the commandmd5
works well➜ ~ md5 -s test MD5 ("test") = 098f6bcd4621d373cade4e832627b4f6
That's the problem, boa should be installed correctly if the env fixed.
@kyleslight is there any reason why the
/sbin
not in the PATH?
No idea yet...