This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2011年10月14日 18:26 by paul.moore, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg145555 - (view) | Author: Paul Moore (paul.moore) * (Python committer) | Date: 2011年10月14日 18:26 | |
PS D:\Data\python-sample\python> pysetup run bdist_wininst running bdist_wininst running build running build_py Invalid command install Traceback (most recent call last): File "D:\Data\cpython\lib\packaging\command\__init__.py", line 57, in get_command_class cls = _COMMANDS[name] KeyError: 'install' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "D:\Data\cpython\lib\packaging\run.py", line 653, in main return dispatcher() File "D:\Data\cpython\lib\packaging\run.py", line 642, in __call__ return func(self, self.args) File "D:\Data\cpython\lib\packaging\run.py", line 91, in wrapper return f(*args, **kwargs) File "D:\Data\cpython\lib\packaging\run.py", line 288, in _run dist.run_command(cmd, dispatcher.command_options[cmd]) File "D:\Data\cpython\lib\packaging\dist.py", line 709, in run_command cmd_obj.run() File "D:\Data\cpython\lib\packaging\command\bdist_wininst.py", line 119, in run reinit_subcommands=True) File "D:\Data\cpython\lib\packaging\command\cmd.py", line 323, in get_reinitialized_command command, reinit_subcommands) File "D:\Data\cpython\lib\packaging\dist.py", line 660, in get_reinitialized_command command = self.get_command_obj(command_name) File "D:\Data\cpython\lib\packaging\dist.py", line 583, in get_command_obj cls = get_command_class(command) File "D:\Data\cpython\lib\packaging\command\__init__.py", line 59, in get_command_class raise PackagingModuleError("Invalid command %s" % name) packaging.errors.PackagingModuleError: Invalid command install Looking at bdist_wininst.py (line 118) it is indeed trying to use an "install" command, which is not present in command\__init__.py |
|||
| msg145594 - (view) | Author: Vinay Sajip (vinay.sajip) * (Python committer) | Date: 2011年10月15日 15:36 | |
Closing as a duplicate of #13151, which also identifies other problems with this command. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:22 | admin | set | github: 57391 |
| 2011年10月17日 12:23:13 | eric.araujo | set | stage: resolved |
| 2011年10月15日 15:36:13 | vinay.sajip | set | status: open -> closed superseder: pysetup3 run bdist_wininst fails components: + Library (Lib) nosy: + vinay.sajip messages: + msg145594 resolution: duplicate |
| 2011年10月14日 18:26:11 | paul.moore | create | |