'flow.py': [Errno 2] No such file or directory

25 views
Skip to first unread message

Hassan Zeb

unread,
Jan 24, 2023, 6:24:55 AM1/24/23
to ns-3-users

Hi Masters,
i am using ns3.34 on ubuntu 16.04  vmware
I a have compile manet-routing-compare and now want to open manet-routing-compare.flowmon by  the following code:
 python flow.py  manet-routing-compare.flowmon
then it give me the following error.
python: can't open file 'flow.py': [Errno 2] No such file or directory
when i searched for this problem i have tried some available solution but not success. i have tried to update python from Python 2.7.12 to 3.5 as well as pip (as available in ubuntu 16.04) but not success as
please help

Gabriel Ferreira

unread,
Jan 24, 2023, 10:23:28 AM1/24/23
to ns-3-users
The message says it all. There is no flow.py file.
You probably want src/flow-monitor/examples/flowmon-parse-results.py.

Why didn't you check the flow-monitor examples directory? I'm curious. 
Depending on the answer, we could update the docs, print a warning or something like that.

Tommaso Pecorella

unread,
Jan 26, 2023, 3:29:03 PM1/26/23
to ns-3-users
Also... the scripts have been heavily updated recently, please use 3.37.
Reply all
Reply to author
Forward
0 new messages