You are getting this error because you are using an argument named encoding in the open method and the open method does not have a parameter named encoding.
To resolve this issue all you have to do is use the io module. like this:
import io
trump = io.open('speeches.txt', encoding='utf8').read()
You can learn more about file handling in python using this python tutorial: