You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pysetup run bdist_wininst does not work (tries to use "install" command) #57391
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/tarekziade'closed_at=<Date2011-10-15.15:36:13.652>created_at=<Date2011-10-14.18:26:11.162>labels= ['type-bug', 'library']
title='pysetup run bdist_wininst does not work (tries to use "install" command)'updated_at=<Date2011-10-17.12:23:13.850>user='https://github.com/pfmoore'
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_classcls=_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 mainreturn 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 wrapperreturn 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_objcls= get_command_class(command)
File "D:\Data\cpython\lib\packaging\command\__init__.py", line 59, in get_command_classraise 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
Activity
pfmoore commentedon Oct 14, 2011
Looking at bdist_wininst.py (line 118) it is indeed trying to use an "install" command, which is not present in command\init.py
vsajip commentedon Oct 15, 2011
Closing as a duplicate of bpo-13151, which also identifies other problems with this command.