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 上的命令行路径

      时间:2023-07-23

      <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 上的命令行路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:在 Windows 7 上使用 Python 快速获取屏幕上某些像素的颜色 下一篇:R_HOME rpy2 错误

                相关文章

                    <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>

                      <bdo id='RMbe9'></bdo><ul id='RMbe9'></ul>
                  1. <legend id='RMbe9'><style id='RMbe9'><dir id='RMbe9'><q id='RMbe9'></q></dir></style></legend>