ns3 buid error

66 views
Skip to first unread message

Shayan Fatima

unread,
Jul 12, 2022, 5:40:07 PM7/12/22
to ns-3-users
Hi everyone! I am new to ns3 and linux and I am trying to build the ns3.34 on ubuntu 22.04 but it is showing the following error. Can anyone help me debug it?
Screenshot from 2022-07-13 01-10-00.png

Tom Henderson

unread,
Jul 12, 2022, 11:03:23 PM7/12/22
to ns-3-...@googlegroups.com
On 7/12/22 14:40, Shayan Fatima wrote:
> Hi everyone! I am new to ns3 and linux and I am trying to build the
> ns3.34 on ubuntu 22.04 but it is showing the following error. Can anyone
> help me debug it?

This problem is due to Ubuntu 22.04 upgrade of Python to Python 3.10.
ns-3.34 Python features were only tested up to Python 3.9 (what was
available at the time). The pybindgen module (version 0.22.0 included
with ns-allinone-3.34) needs an upgrade to work on Python 3.10.

If you do not need Python bindings, you can work around this by
disabling Python at configure time.

$ ./waf configure --disable-python

or you can delete the pybindgen-0.22.0 directory altogether.

If you need Python bindings, you will need to replace pybindgen-0.22.0
with something newer such as 0.22.1 release or the tip of the
development tree.

- Tom
Reply all
Reply to author
Forward
0 new messages