0

I am using windows 8.1 with python 2.7.9 and I think I cannot get python to install/import modules properly. I looked this post and when typingset PATH into the cmd prompt it lists ";C:Python27\Scripts\;C:Python27\" I have tried it with just "Python27" or with the "Python27\Scripts" and none of them work.The location of the python application according to its properties is "C:\Python27".

When I type in python into the cmd it says "python is not recognized as an internal or external command" which is not supposed to happen according this video. I can use Pyscripter and type code into the python command line and it works. So the real problem is I cannot import modules. I have tried this video, this video and this video. All offer different ways of importing modules but none of them work (all do it closer to end of the video). How do I import modules? I know it is supposed to be super easy with pip but it isn't working out for me. What do I do I?

Community
  • 1
  • 1
user18101
  • 626
  • 3
  • 13
  • 22
  • You are missing the backslash after `C:` in your path variable. It should be `;C:\Python27\Scripts\;C:\Python27\ ` – grovesNL Apr 04 '15 at 06:02

1 Answers1

0

For future viewers, the issue was that backslashes were missing from the path variable after C:. The path variable was updated to reflect this.

;C:Python27\Scripts\;C:Python27\

was changed to:

;C:\Python27\Scripts\;C:\Python27\
grovesNL
  • 6,016
  • 2
  • 20
  • 32