support python and non-support python3