Forums

How to pip install gspread module

Issue 1. Not able to pip install gspread module. I tried --upgrade option. I am getting errors. Issue 2. How to default my python version to be 3.6. I guess it's defaulting to python 2.7. Can you help on the above 2 issues?

  1. See http://help.pythonanywhere.com/pages/InstallingNewModules/

  2. 3.6 is your default.

Facing No module named 'gspread' even though I have installed gspread from pip

Make sure you're running your code with the same version of Python as the one that you installed it in. pip installs into Python 2.7, pip3.6 installs into Python 3.6 etc.