-
Notifications
You must be signed in to change notification settings - Fork 397
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
use lcm for python ,when import lcm.the code cannot regonize the package, but i cmake ,make ,make install ,and ldconfig.How should i do? #298
Comments
Well, what did cmake tell you about python bindings? Did it say in the summary that it's missing relevant python paths? |
when i run cmake ,it occurs as follows: and the i run : |
Looks okay. Could you provide more information about your setup/environment, any errors, if you have multiple python versions etc.? |
okay , in the ubuntu there is tow version python ,but i use ln -s to use python3 for the final python and i think you guss that i install the lcm in python2, i run python2 and in the end ,there is no packge lcm and it throws import error |
when i run make, it occurs as follows: -- The C compiler identification is GNU 5.4.0 -- Could NOT find Lua (missing: LUA_LIBRARIES LUA_INCLUDE_DIR) when i run sudo make install,it occurs as follow: and i import lcm, and run help(lcm),it occurs as follows: NAME PACKAGE CONTENTS FILE |
Dude, you didn't answer any of my questions 😆 |
i am so sorry ,i use python with version 3 ,and i can import lcm but when i use the module lcm.EventLog , throwing a error that no module error . |
You can have several versions of python 3 installed. In the future, you can get the python version with $ python --version and you should report the full output/version when someone asks about what version you're running. This time that's not needed since the issue isn't related to having multiple versions installed. Furthermore, you still haven't shared the part of the code that you want help with and I'm not gonna spend any more time on this thread until you share a minimal, workable example (i.e. some minimal code to reproduce your issue), the output it generates (e.g. any errors, and please copy-paste instead of writing in your own words what the error is) and possibly a clear statement of what's the issue you want help with if that's not obvious from the program output. Finally, I'm pretty certain this isn't an LCM issue at all, but a matter of usage and that shouldn't be reported as an issue. |
thank you |
No description provided.
The text was updated successfully, but these errors were encountered: