<legend id='mE86C'><style id='mE86C'><dir id='mE86C'><q id='mE86C'></q></dir></style></legend>

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

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

        <bdo id='mE86C'></bdo><ul id='mE86C'></ul>
    1. django-admin.py 不工作

      django-admin.py is not working(django-admin.py 不工作)
      • <tfoot id='cRMD6'></tfoot>
          <tbody id='cRMD6'></tbody>

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

                <legend id='cRMD6'><style id='cRMD6'><dir id='cRMD6'><q id='cRMD6'></q></dir></style></legend>

              • 本文介绍了django-admin.py 不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我是 django 的新手,我一直在尝试建立一个项目,但没有成功.当我输入django-admin.py startproject mysite 我明白了.

                Am new to django and i have been trying to set up a project with no success. When i type django-admin.py startproject mysite i get this.

                C:UsersWASSWA SAMDocumentsdjangodjcode>django-admin.py startproject mysite
                Usage: django-admin.py subcommand [options] [args]
                
                Options:
                  -v VERBOSITY, --verbosity=VERBOSITY
                                    Verbosity level; 0=minimal output, 1=normal output,
                                    2=all output
                

                等等……

                我已经将它添加到我的路径中

                I have added it to my path like so

                C:Python26Libsite-packagesdjangoin
                

                当我从交互模式导入 django 时,它运行良好.可能是什么问题呢.我正在使用 Windows 7 和 django 1.3.1.我使用 setup.py 安装了它.

                And when i import django from interactive mode it works perfectly. What could be the problem. I am using Windows 7 and django 1.3.1. I installed it using setup.py.

                推荐答案

                这是 Python 在 Windows 上安装的错误.如果你有 regkey 条目

                This is an error with Python's installation on Windows. If you have the regkey entry

                HKEY_CLASSES_ROOTpy_auto_fileshellcommandopen
                

                改变值

                "C:Python27python.exe" "%1"
                

                "C:Python27python.exe" "%1" %*
                

                (或您的等效安装位置)

                (Or your equivalent installation location)

                这确保命令行参数被传递到 python,而不是显式忽略.这已在最新安装的 Python 2.7 中得到修复.%*argv[]."%1" 是脚本的绝对路径.

                This ensures that command-line arguments are passed onto python, rather than explicitly ignored. This is fixed in the latest install of Python 2.7. %* is argv[]. "%1" is the script's absolute path.

                这篇关于django-admin.py 不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                相关文档推荐

                groupby multiple coords along a single dimension in xarray(在xarray中按单个维度的多个坐标分组)
                Group by and Sum in Pandas without losing columns(Pandas中的GROUP BY AND SUM不丢失列)
                Group by + New Column + Grab value former row based on conditionals(GROUP BY+新列+基于条件的前一行抓取值)
                Groupby and interpolate in Pandas(PANDA中的Groupby算法和插值算法)
                Pandas - Group Rows based on a column and replace NaN with non-null values(PANAS-基于列对行进行分组,并将NaN替换为非空值)
                Grouping pandas DataFrame by 10 minute intervals(按10分钟间隔对 pandas 数据帧进行分组)

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

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

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