For some reason, I had this issue when I forgot to activate my virtual environment with "source myenv/bin/activate". Once I activated it, all was fine.