【问题标题】:Solving environment: Failed with initial solver frozen when installing fenics求解环境:安装 fenics 时初始求解器冻结失败
【发布时间】:2021-09-12 10:22:34
【问题描述】:

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

https://fenicsproject.org/download/

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

但我仍然得到一个错误

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

我已经试过了

conda update --all

我仍然遇到同样的错误。

我注意到,在打开 jupyter notebook 后,我看到了红色文本错误

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

有人可以帮忙吗?谢谢

【问题讨论】:

    标签: python


    【解决方案1】:

    也许尝试运行这行代码来解决问题。

    chsh -s /bin/bash
    

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

    希望能帮到你!

    【讨论】:

      猜你喜欢
      • 2021-05-10
      • 2021-08-22
      • 2023-02-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-03-11
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多