SyneRBI / SIRF-SuperBuild

SIRF CMake SuperBuild
http://www.ccpsynerbi.ac.uk
Apache License 2.0
15 stars 17 forks source link

CCPi-Framework/Wrappers/Python/test/test_DataContainer.py fails on docker #505

Closed KrisThielemans closed 3 years ago

KrisThielemans commented 3 years ago

https://travis-ci.com/github/SyneRBI/SIRF-SuperBuild/jobs/492001927#L13888

NUM_THREADS = max(int(multiprocessing.cpu_count()/2),1)
AttributeError: 'module' object has no attribute 'cpu_count'

More than likely this is because it's still running Python2.

With any luck, this will be fixed in #504

KrisThielemans commented 3 years ago

Indeed closed with Python3