0

I have been looking for the past hour regarding installing modules using. It says that python27 comes with pip, However when I type python -m pip install --upgrade pip wheel setuptools into the command line I just get the error NameError: Name 'python' is not defined. I cant even enter python --version.

The module I am trying to install is kivy. On their website it just say download python and type in that string into the command line and it should work. I cant find anywhere if i need to do something beforehand.

PM 2Ring
  • 54,345
  • 6
  • 82
  • 182
Ross
  • 2,463
  • 5
  • 35
  • 91

1 Answers1

2

I think you have to set PATH in environment variable for python command to work.If you're on windows follow this:

My Computer > Properties > Advanced System Settings > Environment Variables > Then under system variables create a new Variable name PATH.Under value type your python installation directory which includes py.exe etc(scripts folder).Then it'll work. OR open cmd prompt in python folder(shift+context menu click) and then enter command.

Akshay Jr.
  • 78
  • 9