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
  • 593
  • 2
  • 9
  • 18

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
  • 15,359
  • 7
  • 71
  • 70
kttr
  • 414
  • 1
  • 3
  • 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
  • 1,048,767
  • 296
  • 4,058
  • 3,343