MagicStack / MagicStack/vmbench
ModuleNotFoundError: No module named 'numpy'
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 189
- Forks
- 48
- PR merge metrics
- No merged PRs in 30d
Description
./run_benchmarks leads to -
Warming up server...
./echo_client --output-format=json --addr=127.0.0.1:25000 --msize=1024 --duration=10 --concurrency=10
Traceback (most recent call last):
File "./echo_client", line 14, in <module>
import numpy as np
ModuleNotFoundError: No module named 'numpy'
Traceback (most recent call last):
File "./run_benchmarks", line 587, in <module>
main()
File "./run_benchmarks", line 517, in main
subprocess.check_output(warmup_cmd)
File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['./echo_client', '--output-format=json', '--addr=127.0.0.1:25000', '--msize=1024', '--duration=10', '--concurrency=10']' returned non-zero exit status 1.```
Note - The installation progressed without any issues.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running ./run_benchmarks and inspect the import and dependency setup used by ./echo_client, which fails while importing numpy. Check how this repository documents or installs Python dependencies, then verify that the benchmark command runs past the warmup without ModuleNotFoundError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- numpy, python
- Domain
- performance
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100