NS3_MODULE_PATH = ['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games', '/usr/local/games', '/usr/lib/wsl/lib', '/mnt/c/Program Files/Common Files/Oracle/Java/javapath', '/mnt/c/Windows/system32', '/mnt/c/Windows', '/mnt/c/Windows/System32/Wbem', '/mnt/c/Windows/System32/WindowsPowerShell/v1.0/', '/mnt/c/Windows/System32/OpenSSH/', '/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common', '/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR', '/mnt/c/WINDOWS/system32', '/mnt/c/WINDOWS', '/mnt/c/WINDOWS/System32/Wbem', '/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/', '/mnt/c/WINDOWS/System32/OpenSSH/', '/mnt/c/Program Files/Java/jdk-19/bin', '/mnt/c/Users/Ayaan's/AppData/Local/Microsoft/WindowsApps', '/mnt/c/Users/Ayaan's/AppData/Local/Programs/Microsoft VS Code/bin', '/mnt/c/flutter/bin', '/snap/bin', '/home/ayaan/workspace/ns-allinone-3.37/ns-3.37/build', '/home/ayaan/workspace/ns-allinone-3.37/ns-3.37/build/lib']
I think the problem is due to the name of my path because it has a special character. It think it's "Ayaan's" that is causing some problems.