install keras in python3 code example Example 1: install keras pip install keras Example 2: install keras sudo pip3 install keras