-
Notifications
You must be signed in to change notification settings - Fork 132
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
Python bindings #108
Comments
Hi, Python bindings are not bundled as of now. If I remember correctly, the last time I tried the command to create the bindings threw up an error, but it was quite some time ago. Let me know if you are successful in obtaining them (this page should contain all needed instructions to generate them). I will try and look into this. |
Hi, I've built bindings successfully using NS3 API Python scanning |
Nice, good to know! I'll add them to the module once I get some time to work on this. |
When I tried import lorawan module in Python, it reports that "ImportError: /ns-allinone-3.33/ns-3.33/build/bindings/python/ns/lorawan.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN3ns37lorawan39CorrelatedShadowingPropagationLossModel22GetCorrelationDistanceEv". How to solve this problem? |
As a temporary workaround: can you try removing the |
I've removed them, and then another error is reported: "lorawan.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN3ns37lorawan15EndDeviceStatus17UpdateGatewayDataESt3mapINS_7AddressENS1_15PacketInfoPerGwESt4lessIS3_ESaISt4pairIKS3_S4_EEES3_d". Then I tried to remove "end-device-status.cc|h" files, but it fails to compile without "end-device-status.h". |
Hi @xiaoyaodiwang, Did you succeed in binding the code to python? |
Yes |
Hi @xiaoyaodiwang, can you share how you were able to make this work? I'd like to include this feature in the mainline, if you want to open a pull request feel free to do so! |
Hi
Is Python bindings built for lorawan module? I'd like to call lorawan module using Python. Looking forward to your answer, thanks!
The text was updated successfully, but these errors were encountered: