Paster QuickStart non è un'opzione
-
27-10-2019 - |
Domanda
Sono solo installando TurboGears2 su Windows 7 in un ambiente virtuale (python 2.7). Io non sto vedendo l'opzione paster QuickStart quando corro
paster --help
Invece, ecco che l'uscita:
(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
Quindi, non è una sorpresa che quando faccio funzionare:
(VirtualEnv_1) C:\VirtualEnv_1\Scripts>paster quickstart
I ottenere:
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
Le mie domande:? Perché è mancante, e come si ottengono
Soluzione
Si ottiene in questa situazione quando si è installato il pacchetto richiesto per run un'applicazione TurboGears (TurboGears2
), ma non quello richiesto per sviluppare un'applicazione TurboGears ( tg.devtools
).
L'esecuzione del seguente comando, mentre nella vostra virtualenv dovrebbe installare il pacchetto corretto:
easy_install -i http://www.turbogears.org/2.1/downloads/current/index tg.devtools
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow