-
Notifications
You must be signed in to change notification settings - Fork 282
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
Incorrect PYTHONPATH on Ubuntu 10.04 #635
Comments
The template used for the catkin/cmake/templates/_setup_util.py.in Line 58 in 9a5da56
This CMake variable is computed in Line 53 in 9a5da56
Line 27 in 9a5da56
There is a second code path for the tools catkin_make / catkin_make_isolated in Python. May be you can add some debug out there if the CMake part is not responsible: catkin/python/catkin/builder.py Line 238 in 9a5da56
|
Please see #636 |
The patch provided in #636 fixes my issue! |
@smits Could you please provide some information after trying it on your machine why the Python version was not extracted for you? I think it would still be valuable to understand why it failed in the first place - e.g. the proposed patch relies on invoking Python which is performance wise always something to reconsider. |
@smits See previous comment. |
Update: I was using indigo-devel instead of groovy-devel. With the original groovy-devel my issue is resolved even without #636 |
Thank you for clarifying the reason why this happened for you. |
Hi all,
I'm trying to use catkin on an older Ubuntu version due to legacy reasons. I've installed python2.7 on it from ppa:fkrull/deadsnakes and made sure I have CMake 2.8.3. I'm using virtualenv to make sure that catkin uses python2.7 since all catkin shebangs are without python version. Although it seems catkin is building ok the generated _setup_util.py exports the wrong PYTHONPATH:
For some reason the MAJOR and MINOR versions are empty. I've skimmed through the catkin sources but cannot find where this CMake variables get set.
The text was updated successfully, but these errors were encountered: