在 Windows 7 上安装 Flask? [英] Installing flask on Windows 7?
问题描述
我已经这样做了:如何在 Windows 上安装 Flask?我目前已经安装了 Python 3.4,其中已经包含 pip.当我以管理员身份在 Windows 命令行中运行 pip install flask 时,它返回
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 安装烧瓶
C:\Python34>python.exe pip install flask
python.exe: 无法打开文件 'pip': [Errno 2] 没有那个文件或目录
python.exe: can't open file 'pip': [Errno 2] No such file or directory
Python IDLE 返回
Python IDLE returns
pip 安装烧瓶
语法错误:无效语法
那么,我做错了什么?:/我正在运行 Windows 7 64 位
So, what have i done wrong? :/ I'm running Windows 7 64bit
推荐答案
pip
是一个命令行工具,而不是 Python 模块或命令.
pip
is a command line tool, not a Python module or command.
只需像这样运行:
C:\Python34> pip install flask
相反.
这篇关于在 Windows 7 上安装 Flask?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!