求解环境:安装fenics时初始求解器冻结失败



我正在尝试安装fenics。在Ubuntu中,安装anaconda3,然后打开jupyter notebook,然后根据网站输入以下命令。

https://fenicsproject.org/download/

!conda config --add channels conda-forge
!conda install fenics

但是我还是得到了

的错误解决环境:安装fenics时初始解算器冻结失败

我已经试过了

conda update --all

,我仍然得到相同的错误。

有一件事我注意到,打开jupyter笔记本后,我看到红色的文本错误

Start : This command cannot be run due to the error: The system cannot find the file specified.
At line:1 char:1
+ Start "file:///home/test/.local/share/jupyter/runtime/nbserver-23 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [Start-Process], InvalidOperationException
+ FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand

有人能帮忙吗?由于

也许可以试着运行这行代码来解决这个问题。

chsh -s /bin/bash

非常确定这会将路径更改回BASH。

希望我帮到你了!

最新更新