有人请帮助解决这个问题(无法执行python脚本) [英] Somebody Please help with this problem(Failing to execute python script)

查看:271
本文介绍了有人请帮助解决这个问题(无法执行python脚本)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

错误0085:在脚本评估期间发生以下错误,请查看输出日志以获取更多信息:
----------来自Python解释器的错误消息的开始----------
追溯(最近一次通话):
  < module>
中的文件"C:\ server \ invokepy.py",第316行     sys.exit(arg_handler(sys.argv))
  arg_handler中的文件"C:\ server \ invokepy.py",第307行
    ret = handle_batch(args)
  handle_batch中的文件"C:\ server \ invokepy.py",第284行
    outfiles = args.next_multi_arg()
  next_multi_arg
中的文件"C:\ server \ invokepy.py",第249行     num = int(self.next_arg())
ValueError:以10为底的int()的无效文字:'.maml.oport1'
返回的进程具有非零退出代码1

Error 0085: The following error occurred during script evaluation, please view the output log for more information:
---------- Start of error message from Python interpreter ----------
Traceback (most recent call last):
  File "C:\server\invokepy.py", line 316, in <module>
    sys.exit(arg_handler(sys.argv))
  File "C:\server\invokepy.py", line 307, in arg_handler
    ret = handle_batch(args)
  File "C:\server\invokepy.py", line 284, in handle_batch
    outfiles = args.next_multi_arg()
  File "C:\server\invokepy.py", line 249, in next_multi_arg
    num = int(self.next_arg())
ValueError: invalid literal for int() with base 10: '.maml.oport1'
Process returned with non-zero exit code 1

推荐答案

应该是您传递的是空字符.请尝试检查您的数据集或尝试int(float(您的值)).没关系.

It should be you were passing a empty character. Please try to check your dataset or try int(float(your value)). It should be fine.

更多信息请参考讨论:

https://stackoverflow.com/questions/1841565/valueerror-invalid-literal-for-int-with-base-10

https://stackoverflow.com/questions/1841565/valueerror-invalid-literal-for-int-with-base-10

此致

雨桐


这篇关于有人请帮助解决这个问题(无法执行python脚本)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆