24小时热门版块排行榜    

CyRhmU.jpeg
南方科技大学公共卫生及应急管理学院2026级博士研究生招生报考通知(长期有效)
查看: 1498  |  回复: 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个字符以上)
信息提示
请填处理意见