我正在尝试安装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有人能帮上忙吗?谢谢
发布于 2021-09-12 02:22:34
也许可以试着运行这行代码来解决这个问题。
chsh -s /bin/bash我很确定这会将路径更改回BASH。
希望我能帮到你!
https://stackoverflow.com/questions/69147948
复制相似问题