ARM-software / synchronization-benchmarks

Collection of synchronization micro-benchmarks and traces from infrastructure applications
Other
37 stars 36 forks source link

test_lockhammer.py : ImportError: No module named sh #44

Closed zhangfeigao closed 5 years ago

zhangfeigao commented 6 years ago

python3 test_lockhammer.py Traceback (most recent call last): File "test_lockhammer.py", line 38, in import sh ImportError: No module named 'sh'

python2 test_lockhammer.py Traceback (most recent call last): File "test_lockhammer.py", line 38, in import sh ImportError: No module named sh

Amar-Bharamshetti commented 5 years ago

Observing same issue. Please let us know if there is any way to fix it

el8 commented 5 years ago

Manually installing python3-sh solved the issue for me.

Please document the required packages in README.rst of benchmarks/lockhammer under "Build & Run".

geoffreyblake commented 5 years ago

Thanks for the feedback, we will make sure to document that appropriately.

zoybai commented 5 years ago

Pull request #49 merged.