ModuleNotFoundError: No module named 'numpy'
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- numpy, python
- Domain
- performance
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.
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.
- Dominant language
- Python
- Stars
- 189
- Forks
- 48
- PR merge metrics
- No merged PRs in 30d
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.
More from MagicStack/vmbench
-
proxy settings Open
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
MagicStack/vmbench#14 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
MagicStack/vmbench#13 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
MagicStack/vmbench#11 · 1 comment ·
-
Tested versions Open
Difficulty 1/5 Under an hour Newbie friendliness 25/100
MagicStack/vmbench#2 · 3 comments ·
All issues in MagicStack/vmbench
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
learningequality/ricecooker#747 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
BSData/horus-heresy-3rd-edition#3171 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
run-llama/llama_index#23199 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
KhronosGroup/glTF-Blender-IO#2769 ·