首页 > 解决方案 > IHaskell 用于新型阴谋集团项目?

问题描述

通过 JupyterLab 使用 IHaskell 时,似乎只有部分支持新型 cabal 项目。

在 cabal 项目的目录中创建工作簿时,IHaskell 会选择该.ghc.environment文件。所以内核看到的包版本与 cabal 使用的完全相同。好的!

但是,其他一些事情不太顺利:

Disabling IHaskell widget support due to an encountered error:
The installed IHaskell support libraries do not match the instance of IHaskell you are running.
This *may* cause problems with functioning of widgets or rich media displays.
This is most often caused by multiple copies of IHaskell being installed simultaneously in your environment.
To resolve this issue, clear out your environment and reinstall IHaskell.
If you are installing support libraries, make sure you only do so once:
    # Run this without first running `stack install ihaskell`
    stack install ihaskell-diagrams
If you continue to have problems, please file an issue on Github.

这些问题是否有任何已知的解决方法?

标签: cabalihaskellcabal-new

解决方案


推荐阅读