Pergunta

Estou apenas a instalação TurboGears2 no Windows 7 rodando um ambiente virtual (python 2.7). Eu não estou vendo a opção paster início rápido quando eu corro

paster --help

Em vez disso, aqui é que a saída:

(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

Assim, não é nenhuma surpresa que quando eu executar:

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

eu recebo:

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

As minhas perguntas:? Por que é falta, e como faço para obtê-lo

Foi útil?

Solução

Você chegar a esta situação, quando você instalou o pacote necessário para Executar um aplicativo TurboGears (TurboGears2), mas não o necessário para desenvolver um aplicativo TurboGears ( tg.devtools).

A execução do seguinte comando, enquanto em sua virtualenv deve instalar o pacote correto:

easy_install -i http://www.turbogears.org/2.1/downloads/current/index tg.devtools
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top