24小时热门版块排行榜    

查看: 1555  |  回复: 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个字符以上)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 274求调剂 +6 cgyzqwn 2026-03-01 13/650 2026-03-06 10:55 by lature00
[考研] 303求调剂 +4 forgman95 2026-03-05 6/300 2026-03-06 08:10 by 杨杨杨紫
[考研] 328求调剂 +6 vuzhdkfjkx 2026-03-04 7/350 2026-03-05 23:28 by Leeding1356
[考研] 材料调剂 +4 L9370 2026-03-05 4/200 2026-03-05 19:36 by caszguilin
[考研] 材料学学硕308分/本科东北大学/一志愿西北工业大学/ 5+3 苏尧幺幺 2026-03-03 8/400 2026-03-05 16:06 by njzyff
[考研] 0817化学工程与技术312分求调剂 +3 T123 tt 2026-03-04 3/150 2026-03-05 09:39 by houyaoxu
[考研] 376求调剂 +3 王浩然sam 2026-03-04 3/150 2026-03-05 07:48 by bxbo
[考研] 材料学硕080500复试调剂294 +3 四叶zjz 2026-03-04 3/150 2026-03-05 07:09 by kunm555
[考研] 化学工程求调剂 +10 化工人999 2026-03-04 10/500 2026-03-04 21:21 by zhukairuo
[考研] 320材料与化工,求调剂 +6 鹤遨予卿 2026-03-04 8/400 2026-03-04 20:47 by wutongshun
[考研] 282求调剂 +5 2103240126 2026-03-02 8/400 2026-03-04 17:29 by 妄深于海
[考研] 材料专硕346求调剂 +3 旺一下 2026-03-04 3/150 2026-03-04 16:26 by sslc1985
[考研] 一志愿314求调剂 +7 202111120625 2026-03-03 7/350 2026-03-04 15:56 by zhukairuo
[基金申请] 请问大家,研究风险与应对措施那里, 大家都怎么写呢 ? +3 cauasen 2026-03-02 3/150 2026-03-03 19:43 by Tide man
[考研] 290分材料工程085601求调剂 数二英一 +8 llx0610 2026-03-02 9/450 2026-03-02 22:09 by 无际的草原
[考研] 272求调剂 +9 材紫有化 2026-02-28 9/450 2026-03-02 20:22 by hypershenger
[考研] 材料工程274求调剂 +5 Lilithan 2026-03-01 5/250 2026-03-02 19:39 by caszguilin
[考研] 材料085601调剂 +5 多多子. 2026-03-02 5/250 2026-03-02 19:15 by zhukairuo
[考研] 材料调剂 +3 恒顺自然 2026-03-02 3/150 2026-03-02 18:49 by L135790
[考研] 275求调剂 +3 L-xin? 2026-03-01 6/300 2026-03-02 10:22 by 热情沙漠
信息提示
请填处理意见