Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEM : FileNotFoundError: [Errno 2] No such file or directory: '/home/aks/IB/new/bake/source/ns-3.36/build/optimized/build-status.p #68

Closed
BenGitUHA opened this issue Nov 12, 2023 · 1 comment

Comments

@BenGitUHA
Copy link

Hello,
I used SEM a year ago, and it works perfectly! However, with Python 3.10, it does not work as expected.
I want to run a simulation about lorawan, so I start by : sem run --results-dir=./results --ns-3-path=. --script=complete-network-example
However, I get the following error :
/usr/lib/python3/dist-packages/scipy/init.py:146: UserWarning: A NumPy version >=1.17.3 and <1.25.0 is required for this version of SciPy (detected version 1.26.1
warnings.warn(f"A NumPy version >={np_minversion} and <{np_maxversion}"
Building ns-3: 100%|██████████████████████████████████████████████████████████████████████| [06:04<00:00]
Traceback (most recent call last):
File "/home/aks/IB/new/bake/source/ns-3.36/SEM_IB/Lora_SEM_start3.py", line 16, in
campaign = sem.CampaignManager.new(ns_path, script, campaign_dir, overwrite=True)
File "/home/aks/.local/lib/python3.10/site-packages/sem/manager.py", line 157, in new
runner = CampaignManager.create_runner(ns_path, script,
File "/home/aks/.local/lib/python3.10/site-packages/sem/manager.py", line 260, in create_runner
return locals().get(runner_type,
File "/home/aks/.local/lib/python3.10/site-packages/sem/runner.py", line 78, in init
spec.loader.exec_module(build_status)
File "", line 879, in exec_module
File "", line 1016, in get_code
File "", line 1073, in get_data
FileNotFoundError: [Errno 2] No such file or directory: '/home/aks/IB/new/bake/source/ns-3.36/build/optimized/build-status.py'

Any help ?
Thanks

@Thecave3
Copy link
Collaborator

Thecave3 commented Oct 2, 2024

This is hard to replicate and looks like an issue due to versions shenanigans

@Thecave3 Thecave3 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants