GithubHelp home page GithubHelp logo

Comments (1)

Peemouse avatar Peemouse commented on June 18, 2024

Going on https://numpy.org/devdocs/user/troubleshooting-importerror.html
made me issuing this command
sudo apt-get install libatlas-base-dev

Then, trying stressberry-run out.dat worked for the idling time.
But then threw me this :

usage: stress [-h] [-c CORES] [-m MEMORY]
stress: error: unrecognized arguments: --cpu 4 --timeout 300s
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "/home/pi/.local/lib/python3.7/site-packages/stressberry/cli/run.py", line 96, in <lambda>
    target=lambda: test(args.duration, args.idle, args.cores), args=()
  File "/home/pi/.local/lib/python3.7/site-packages/stressberry/main.py", line 99, in test
    stress_cpu(num_cpus=cores, time=stress_duration)
  File "/home/pi/.local/lib/python3.7/site-packages/stressberry/main.py", line 7, in stress_cpu
    subprocess.check_call(["stress", "--cpu", str(num_cpus), "--timeout", f"{time}s"])
  File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['stress', '--cpu', '4', '--timeout', '300s']' returned non-zero exit status 2.

Problem with stress package I guess.
Investigating and report back.

PS: stress package version 1.0.4-4

from stressberry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.