runtimeerror怎么解决python_Python文件“设置.py“运行中引发RuntimeError(“chmod error”)RuntimeError:chmod...

我正在尝试为Windows7上的Jython/pythondjango应用程序安装一些模块。当我在下载后尝试安装它们时(导航到目录,从命令提示符键入jython设置.pyinstall)我得到以下错误(下面的错误是针对Pycrypto-2.6的:running install

running build

running build_py

running build_ext

running build_configure

'chmod' is not recognized as an internal or external command,

operable program or batch file.

Traceback (most recent call last):

File "setup.py", line 456, in

core.setup(**kw)

File "C:\jython2.5.3\Lib\distutils\core.py", line 151, in setup

dist.run_commands()

File "C:\jython2.5.3\Lib\distutils\core.py", line 151, in setup

dist.run_commands()

File "C:\jython2.5.3\Lib\distutils\dist.py", line 974, in run_commands

self.run_command(cmd)

File "C:\jython2.5.3\Lib\distutils\dist.py", line 994, in run_command

cmd_obj.run()

File "C:\jython2.5.3\Lib\distutils\command\install.py", line 513, in run

self.run_command('build')

File "C:\jython2.5.3\Lib\distutils\cmd.py", line 333, in run_command

self.distribution.run_command(command)

File "C:\jython2.5.3\Lib\distutils\dist.py", line 994, in run_command

cmd_obj.run()

File "C:\jython2.5.3\Lib\distutils\command\build.py", line 112, in run

self.run_command(cmd_name)

File "C:\jython2.5.3\Lib\distutils\cmd.py", line 333, in run_command

self.distribution.run_command(command)

File "C:\jython2.5.3\Lib\distutils\dist.py", line 994, in run_command

cmd_obj.run()

File "setup.py", line 251, in run

self.run_command(cmd_name)

File "C:\jython2.5.3\Lib\distutils\cmd.py", line 333, in run_command

self.distribution.run_command(command)

File "C:\jython2.5.3\Lib\distutils\dist.py", line 994, in run_command

cmd_obj.run()

File "setup.py", line 273, in run

raise RuntimeError("chmod error")

RuntimeError: chmod error

我走进了设置.py文件并注释掉chmod行。我重新运行它,在“sh configure”上得到一个错误。我只是停在这里,因为我不知道如何调用这个模块中的configure命令。在

显然,这与我试图在windows而不是Linux上安装有关。但是使用Jython,我不能用easy-install安装这个。皮普不会和杰森一起工作。所以我自己不知道怎么安装这个模块。在

谢谢

你可能感兴趣的:(runtimeerror怎么解决python_Python文件“设置.py“运行中引发RuntimeError(“chmod error”)RuntimeError:chmod...)