質問

私は、仮想環境を実行しているWindows 7上でTurboGears2をインストールしています(のpython 2.7)。私が実行したとき、私はペースタークイックスタートオプションを見ていないです。

paster --help

その代わり、ここでその出力があります:

(VirtualEnv_1) C:\VirtualEnv_1\Scripts>paster --help
Usage: paster-script.py [paster_options] COMMAND [command_options]

Options:
  --version         show program's version number and exit
  --plugin=PLUGINS  Add a plugin to the list of commands (plugins are Egg
                    specs; will also require() the Egg)
-h, --help        Show this help message

Commands:
 create       Create the file layout for a Python distribution
 help         Display help
 make-config  Install a package and create a fresh config file/directory
 points       Show information about entry points
 post         Run a request for the described application
 request      Run a request for the described application
 serve        Serve the described application
 setup-app    Setup an application, given a config file

TurboGears2:
 tginfo       Show TurboGears 2 related projects and their versions

ですから、私が実行していることは驚きません。

(VirtualEnv_1) C:\VirtualEnv_1\Scripts>paster quickstart

I入手ます:

Command 'quickstart' not known (you may need to run setup.py egg_info)
Known commands:
  create       Create the file layout for a Python distribution
  exe          Run #! executable files
  help         Display help
  make-config  Install a package and create a fresh config file/directory
  points       Show information about entry points
  post         Run a request for the described application
  request      Run a request for the described application
  serve        Serve the described application
  setup-app    Setup an application, given a config file
  tginfo       Show TurboGears 2 related projects and their versions

私の質問は:?なぜそれが欠落している、と私はそれを得るのですか。

役に立ちましたか?

解決

あなたがの実行のA TurboGearsのアプリ(TurboGears2)ではなく、の(のA TurboGearsのアプリを開発するために必要なものに必要なパッケージをインストールしているとき、

あなたはこのような状況に入りますtg.devtools)。

あなたのvirtualenvの正しいパッケージをインストールする必要がありながら、次のコマンドを実行します:

easy_install -i http://www.turbogears.org/2.1/downloads/current/index tg.devtools
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top