24小时热门版块排行榜    

查看: 1686  |  回复: 2
【悬赏金币】回答本帖问题,作者scdxchenfang将赠送您 5 个金币

scdxchenfang

木虫 (正式写手)

[求助] 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
同样操作在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'不是内部或外部命令,也不是可运行的程序或批处理文件
请问一下我的问题在哪里?百度说的改环境变量我试过不管用,请各位帮帮忙,谢谢。
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

cyfjkf

至尊木虫 (著名写手)

这是环境变量出的问题,改正即可。

发自小木虫Android客户端
2楼2021-07-31 07:41:58
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

scdxchenfang

木虫 (正式写手)

引用回帖:
2楼: Originally posted by cyfjkf at 2021-07-31 07:41:58
这是环境变量出的问题,改正即可。

怎么改?可以教教我吗,百度说的我尝试了但是不好用
3楼2021-07-31 08:11:10
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 scdxchenfang 的主题更新
不应助 确定回帖应助 (注意:应助才可能被奖励,但不允许灌水,必须填写15个字符以上)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 不应该看fileCode +5 且听虎啸 2026-08-12 6/300 2026-08-12 16:26 by Tide man
[基金申请] 是这周出结果还是下周出结果? +3 yuleib84 2026-08-11 3/150 2026-08-11 21:53 by jnhyjjm
[基金申请] 小木虫上这么多卖论文的,真有人买论文么?感觉没必要啊 +8 Tide man 2026-08-10 9/450 2026-08-11 20:39 by beefly
[基金申请] 帮忙看看fileCode +7 wwncly 2026-08-10 13/650 2026-08-11 19:36 by 冰心玉壶晴
[基金申请] 什么时候出结果,有咨询渠道??? +3 Tide man 2026-08-11 3/150 2026-08-11 17:54 by kudofaye
[基金申请] 听说今天filecode变了 +26 布布和一二 2026-08-06 49/2450 2026-08-11 13:18 by WH3796
[基金申请] 我的国基提前知道中了,可是同事的操作让我实在接受不了,怎么会有这样的人 +8 家与远方 2026-08-10 13/650 2026-08-11 09:49 by 家与远方
[基金申请] 确定了,国自然21号放榜 +6 布布和一二 2026-08-10 7/350 2026-08-10 19:15 by 2000zf36392
[基金申请] 关于代码变化问题,想知道的进来 +17 且听虎啸 2026-08-07 24/1200 2026-08-10 18:35 by zhangduo2008
[基金申请] 静等基金结果 +5 gjjjzhong 2026-08-10 16/800 2026-08-10 17:19 by Tide man
[基金申请] 国自然结果 +4 Vierhys 2026-08-10 8/400 2026-08-10 15:06 by Vierhys
[基金申请] 2026国自然放榜时间 +9 布布和一二 2026-08-08 9/450 2026-08-10 11:22 by xxxx2020
[基金申请] 这样的filecode谁见过 +11 布布和一二 2026-08-08 22/1100 2026-08-10 11:10 by wmfsnow
[基金申请] filecode与中标关系的预测 +5 布布和一二 2026-08-07 5/250 2026-08-09 16:15 by 袁向阳007
[基金申请] fileCode有新解读? +10 Tide man 2026-08-08 18/900 2026-08-09 12:55 by 仁砚薪传
[基金申请] 关于filecode,很负责任的告诉大家 +6 爱看书的可乐 2026-08-08 7/350 2026-08-08 22:13 by a_niu
[基金申请] 关于豆爷回答的JTJC与%2F数量 +5 yang182083 2026-08-06 7/350 2026-08-08 18:29 by zhanghaozhu
[基金申请] 国基金的申报应该改成非等额制,评价高的钱多评价低的钱少,但是增加资助率 +7 a089 2026-08-07 7/350 2026-08-08 18:05 by gltch
[基金申请] 固定端突然变了,今天 +6 archvillain 2026-08-06 10/500 2026-08-07 16:03 by 医学老男孩
[基金申请] filecode变化情况 +6 布布和一二 2026-08-07 22/1100 2026-08-07 14:45 by 且听虎啸
信息提示
请填处理意见