flask / bin / pip install flask == 0.9导致'没有这样的文件或目录' [英] flask/bin/pip install flask==0.9 results in 'no such file or directory'
问题描述
我试图按照这里发布的指导 http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world ,我正在说安装烧瓶和扩展通过输入以下命令,一个接一个:
flask / bin / pip install flask == 0.9
flask / bin / pip install flask -login
flask / bin / pip install flask-openid
flask / bin / pip install flask-mail
等。
当我在终端输入第一个命令时,我得到/ Users / test / Python:糟糕的解释器:没有这样的文件或目录。
不知道从哪里开始。
你使用的是virtualenv吗?如果你不是,我强烈建议你应该。
您可以结帐: virtualenv 另外,为了让事情变得更简单,您还可以使用virtualenvwrapper: virtualenvwrapper 。
这就是说,如果你的计算机上安装了点子,你应该只运行'pip install flask == 0.9'等。你不需要烧瓶/箱作为教程说的一部分的CMD。
希望这有助于。
I am trying to follow the guide posted here http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world and I'm on the step that says install flask and extensions by entering the following commands, one after another:
flask/bin/pip install flask==0.9
flask/bin/pip install flask-login
flask/bin/pip install flask-openid
flask/bin/pip install flask-mail
ect.
When I enter the first command in terminal, I get "/Users/test/Python: bad interpreter: No such file or directory".
No idea where to go from here.
Are you using a virtualenv? If you are not, I highly recommend that you should.
You can checkout: virtualenv Also, to make things a bit easier you can also use virtualenvwrapper: virtualenvwrapper.
That being said if you have pip installed on your machine, your should only run 'pip install flask==0.9', etc. You do not need the flask/bin part of the cmd as the tutorial says.
Hope this helps.
这篇关于flask / bin / pip install flask == 0.9导致'没有这样的文件或目录'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!