Problem solved, turns i had 2 tensorflow versions installed:
- When launching $python , it used 0.6 version(which didnt had contrib module)
- When launching $sudo python ,it had the latest 0.9 version and everything works as the documentation.
Problem solved, turns i had 2 tensorflow versions installed: