Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@nouraellm
Copy link
Contributor

If md5sha1sum is not installed the following error will be thrown:

/bin/sh: md5sum: command not found
Traceback (most recent call last):
File "test.py", line 118, in
d = compute_checksums(dirname='.', suffix='.py')
File "test.py", line 77, in compute_checksums
res, stat = compute_checksum(name)
File "test.py", line 37, in compute_checksum
return pipe(cmd)
File "test.py", line 62, in pipe
assert stat is None
AssertionError

The solution is to install it on the operating system

If md5sha1sum is not installed the following error will be thrown:

/bin/sh: md5sum: command not found
Traceback (most recent call last):
  File "test.py", line 118, in <module>
    d = compute_checksums(dirname='.', suffix='.py')
  File "test.py", line 77, in compute_checksums
    res, stat = compute_checksum(name)
  File "test.py", line 37, in compute_checksum
    return pipe(cmd)
  File "test.py", line 62, in pipe
    assert stat is None
AssertionError

The solution is to install it on the operating system
@AllenDowney AllenDowney merged commit 9eba623 into AllenDowney:master Mar 1, 2022
@AllenDowney
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants