I was having the same problem. I had installed Google Earth Engine by doing a pip install ee. Then I found that that you need to run this:
pip install earthengine-api --upgrade