1

I have done this: How to install Flask on Windows? I currently have installed Python 3.4, which includes pip already. When i run pip install flask in windows commandline as admin it returns

C:\Python34>python.exe pip install flask

python.exe: can't open file 'pip': [Errno 2] No such file or directory

Python IDLE returns

pip install flask

SyntaxError: invalid syntax

So, what have i done wrong? :/ I'm running Windows 7 64bit

Community
  • 1
  • 1
capitalg
  • 495
  • 2
  • 9
  • 15

2 Answers2

2

You could also run Flask on PythonAnywhere or another free Python host - it has the added benefit of being able to access your code anywhere.

hwjp
  • 14,290
  • 6
  • 70
  • 69
kttr
  • 394
  • 1
  • 2
  • 11
0

pip is a command line tool, not a Python module or command.

Just run it like:

C:\Python34> pip install flask

instead.

Martijn Pieters
  • 963,270
  • 265
  • 3,804
  • 3,187