-
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
Python unable to find lcm._lcm #299
Comments
Have you confirmed that cmake reported that all python paths were properly configured? |
Did you ever find a solution to this? I'm getting the same error as well, Ubuntu 20.04. |
I've tried to reproduce this on Ubuntu 18.04. CMake picked up the wrong python config (python 2.7 as executable but python3.6 libs), but that triggered different errors and could be fixed by setting the variables correctly. ( |
I ran into the same error after installing LCM as described on https://lcm-proj.github.io/build_instructions.html, the reason being that it defaulted to installing for python (Python 2) but not for python3. As hoxovic indicated, setup.py has to be called from python3 install LCM for python3 as well, so after having installed LCM according to the instructions on https://lcm-proj.github.io/build_instructions.html do
It would be helpful to have a note regarding this in the instruction manual. |
when I run "sudo python3 setup.py install" command, I face the below error: Anyone can help? If I run "sudo python setup.py install", it can compile successfully, but I will have the same error as @Tdogb when importing lcm. |
It looks like you are missing the Python header files. |
Using latest release version on Ubuntu 16.04
The text was updated successfully, but these errors were encountered: