1. <legend id='HhWWS'><style id='HhWWS'><dir id='HhWWS'><q id='HhWWS'></q></dir></style></legend>

        <bdo id='HhWWS'></bdo><ul id='HhWWS'></ul>

      <small id='HhWWS'></small><noframes id='HhWWS'>

      <tfoot id='HhWWS'></tfoot>
    1. <i id='HhWWS'><tr id='HhWWS'><dt id='HhWWS'><q id='HhWWS'><span id='HhWWS'><b id='HhWWS'><form id='HhWWS'><ins id='HhWWS'></ins><ul id='HhWWS'></ul><sub id='HhWWS'></sub></form><legend id='HhWWS'></legend><bdo id='HhWWS'><pre id='HhWWS'><center id='HhWWS'></center></pre></bdo></b><th id='HhWWS'></th></span></q></dt></tr></i><div id='HhWWS'><tfoot id='HhWWS'></tfoot><dl id='HhWWS'><fieldset id='HhWWS'></fieldset></dl></div>
    2. 添加“django-admin.py"Windows 7 上的命令行路径

      Add quot;django-admin.pyquot; path to command line on Windows 7(添加“django-admin.pyWindows 7 上的命令行路径)

      <small id='Ukqfw'></small><noframes id='Ukqfw'>

        1. <i id='Ukqfw'><tr id='Ukqfw'><dt id='Ukqfw'><q id='Ukqfw'><span id='Ukqfw'><b id='Ukqfw'><form id='Ukqfw'><ins id='Ukqfw'></ins><ul id='Ukqfw'></ul><sub id='Ukqfw'></sub></form><legend id='Ukqfw'></legend><bdo id='Ukqfw'><pre id='Ukqfw'><center id='Ukqfw'></center></pre></bdo></b><th id='Ukqfw'></th></span></q></dt></tr></i><div id='Ukqfw'><tfoot id='Ukqfw'></tfoot><dl id='Ukqfw'><fieldset id='Ukqfw'></fieldset></dl></div>
          • <bdo id='Ukqfw'></bdo><ul id='Ukqfw'></ul>
            <legend id='Ukqfw'><style id='Ukqfw'><dir id='Ukqfw'><q id='Ukqfw'></q></dir></style></legend>
          • <tfoot id='Ukqfw'></tfoot>

              <tbody id='Ukqfw'></tbody>

                本文介绍了添加“django-admin.py"Windows 7 上的命令行路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我一直在尝试将 django-admin.py 路径添加到 Windows 7 上的命令行.

                I've been trying to add the django-admin.py path to command line on Windows 7.

                我尝试过这样做:

                C:>set django-admin.py = C:Python27Scriptsdjango-admin.py
                

                但是 cmd 告诉我:

                'django-admin.py' is not recognized as an internal or external command.
                

                那么如何在 Windows 7 上将 django-admin.py 路径添加到命令行?

                So how can I add django-admin.py path to command line on Windows 7?

                我需要它,因为稍后我会这样做:

                I need it because later I'm doing this:

                  C:UsersMichaelDesktopmysite>django-admin.py startproject mysite
                

                谢谢.

                推荐答案

                试试下面的命令.

                set path=%path%;c:python27scripts
                

                PATH 仅为运行上述命令的 cmd.exe 设置.

                PATH is set only for the cmd.exe in which you run the above command.

                更新

                永久设置路径:

                1. 右键单击桌面上的我的电脑.
                2. 点击左侧的高级系统设置.
                3. 点击环境变量.
                4. 添加或更新 PATH 变量:
                  • 如果不存在,则创建一个,并将值设置为C:python27scripts
                  • 如果存在,将 ;C:Python27scripts 附加到现有值.
                1. Right click My computer in the desktop.
                2. Click Advanced System Settings on the left.
                3. Click Environmental Variable.
                4. Add or Update PATH variable:
                  • If it does not exist, create one, and set value as C:python27scripts
                  • If it exist, append ;C:Python27scripts to existing value.

                这篇关于添加“django-admin.py"Windows 7 上的命令行路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                Pythonic and efficient way of finding adjacent cells in grid(在网格中查找相邻单元格的 Pythonic 和有效方法)
                map a hexagonal grid in matplotlib(在 matplotlib 中映射六边形网格)
                Execute arbitrary python code remotely - can it be done?(远程执行任意 python 代码 - 可以吗?)
                Python - Plotting colored grid based on values(Python - 根据值绘制彩色网格)
                Is there a GUI design app for the Tkinter / grid geometry?(是否有 Tkinter/网格几何图形的 GUI 设计应用程序?)
                tkinter Canvas Scrollbar with Grid?(带有网格的 tkinter 画布滚动条?)

                    <small id='RMbe9'></small><noframes id='RMbe9'>

                    <i id='RMbe9'><tr id='RMbe9'><dt id='RMbe9'><q id='RMbe9'><span id='RMbe9'><b id='RMbe9'><form id='RMbe9'><ins id='RMbe9'></ins><ul id='RMbe9'></ul><sub id='RMbe9'></sub></form><legend id='RMbe9'></legend><bdo id='RMbe9'><pre id='RMbe9'><center id='RMbe9'></center></pre></bdo></b><th id='RMbe9'></th></span></q></dt></tr></i><div id='RMbe9'><tfoot id='RMbe9'></tfoot><dl id='RMbe9'><fieldset id='RMbe9'></fieldset></dl></div>
                      <tfoot id='RMbe9'></tfoot>

                        <tbody id='RMbe9'></tbody>
                        <bdo id='RMbe9'></bdo><ul id='RMbe9'></ul>
                      • <legend id='RMbe9'><style id='RMbe9'><dir id='RMbe9'><q id='RMbe9'></q></dir></style></legend>