正在涨知识 2021-08-01 09:22 采纳率: 0%
浏览 1133
已结题

python执行文件时最后提示sh: sbatch: command not found

我在liunx环境下安装了anacoda之后并新建了一个环境,之后我运行命令python AimsBatchCAlc.py提示我如下的错误
[root@localhost scripts]# python AimsBatchCalc.py
/home/cls/Downloads/Or/lib/python3.8/site-packages/ase-3.22.0-py3.8.egg/ase/calculators/calculator.py:508: FutureWarning: The keyword "ignore_bad_restart_file" is deprecated and will be removed in a future version of ASE. Passing more than one positional argument to Calculator is also deprecated and will stop functioning in the future. Please pass arguments by keyword (key=value) except optionally the "restart" keyword.
warnings.warn(FutureWarning(
sh: sbatch: command not found
sh: sbatch: command not found
sh: sbatch: command not found
sh: sbatch: command not found
sh: sbatch: command not found
sh: sbatch: command not found
sh: sbatch: command not found
sh: sbatch: command not found
同时我用whereis sbatch查找位置没有发现sbatch的位置。
同样操作在windows下提示我
C:\usr\anaconda3\envs\ogre\lib\site-packages\ase-3.22.0-py3.8.egg\ase\calculators\calculator.py:508: FutureWarning: The keyword "ignore_bad_restart_file" is deprecated and will be removed in a future version of ASE. Passing more than one positional argument to Calculator is also deprecated and will stop functioning in the future. Please pass arguments by keyword (key=value) except optionally the "restart" keyword.
warnings.warn(FutureWarning(
'sbatch'不是内部或外部命令,也不是可运行的程序或批处理文件
'sbatch'不是内部或外部命令,也不是可运行的程序或批处理文件
'sbatch'不是内部或外部命令,也不是可运行的程序或批处理文件
'sbatch'不是内部或外部命令,也不是可运行的程序或批处理文件
'sbatch'不是内部或外部命令,也不是可运行的程序或批处理文件
'sbatch'不是内部或外部命令,也不是可运行的程序或批处理文件
'sbatch'不是内部或外部命令,也不是可运行的程序或批处理文件
'sbatch'不是内部或外部命令,也不是可运行的程序或批处理文件

请问我这个怎么处理呢?

  • 写回答

1条回答 默认 最新

  • 正在涨知识 2021-08-03 09:20
    关注

    请问有人吗

    评论

报告相同问题?

问题事件

  • 系统已结题 8月9日
  • 创建了问题 8月1日

悬赏问题

  • ¥15 Dell g15 每次打开eiq portal后3分钟内自动退出
  • ¥15 大二软件工程基础大题
  • ¥200 使用python编写程序,采用socket方式获取网页实时刷新的数据,能定时print()出来就行。
  • ¥15 matlab如何根据图片中的公式绘制e和v的曲线图
  • ¥15 我想用Python(Django)+Vue搭建一个用户登录界面,但是在运行npm run serve时报错了如何解决?
  • ¥15 QQ邮箱过期怎么恢复?
  • ¥15 登录他人的vue项目显示服务器错误
  • ¥15 (标签-android|关键词-app)
  • ¥60 如何批量获取json的url
  • ¥15 comsol仿真压阻传感器