-
Notifications
You must be signed in to change notification settings - Fork 11
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
Support Python3 #37
Comments
@traversaro which versions of python have been installed? anyway, there is a cmake option |
Checked it, the problem is that some RTF is not compatible with Python 3. Working on it right now. |
Relevant link: https://docs.python.org/2/howto/cporting.html . |
Furthermore fix compilation on some Ubuntu system, see for more info robotology/yarp#151 Ref: #37
Giving up as for the moment I don't know enough of Python internals to do it (especially to properly substitute the |
Relevant: https://pythonclock.org/ . |
Hi guys, |
Hi @apaikan , Back in the days I tried to get RTF to work on Python 3, but I was unable to port all the part using Given that Python 2 will be officially unsupported in less than 10 months (see https://pythonclock.org/) I was trying to raise awareness on this issue. |
I didn't know about it... WONDERFUL ❤️ I agree, or we port it, or we drop it 😬 |
i am for dropping the compatibility |
2 months left to python 2 end of life, and still no python 3 support 😞 |
But what is the main incompatibility issue? |
The C API of the Python interpreter changed between Python 2 and Python 3, and we use it in
|
Unfortunately RTF does not support Python3, so it is better to just remove python support for it from the superbuild: robotology/robot-testing-framework#37 .
Python 2 reached its end of life |
https://travis-ci.org/robotology/robot-testing/jobs/96977269
Actual error:
Googling for similar errors it appears that the bug is caused by a mismatch between the Python versions:
https://bugs.launchpad.net/opencog/+bug/1063039
http://sourceforge.net/p/robotcub/mailman/robotcub-hackers/thread/[email protected]/
Probably now the Travis images have been update to have multiple versions of Python, and there is a bug in the CMake code handling Python versions. I will look into it.
The text was updated successfully, but these errors were encountered: