GHC 9 addLibrarySearchPath 找不到指定的文件

问题描述

我在我的 Windows 10 机器上安装了 GHC 9.0.1,当启动 GHCi 时,我得到以下输出[...] 代表省略的个人信息):

> ghci
Loaded package environment from C:\Users\[...]\AppData\Roaming\ghc\x86_64-mingw32-9.0.1\environments\default
GHCi,version 9.0.1: https://www.haskell.org/ghc/  :? for help
ghc.exe: addLibrarySearchPath: C:\Program (Win32 error 2): The system cannot find the file specified.
ghc.exe: addLibrarySearchPath: C:\Users\[...]\Documents\Files\Haskell (Win32 error 3): The system cannot find the path specified.
ghc.exe: addLibrarySearchPath: C:\Users\[...]\Documents\Platform\8.6.3\mingw\lib (Win32 error 3): The system cannot find the file specified.
[ additional items omitted ]

看起来它试图找到三个单独的路径,C:\ProgramFiles\HaskellPlatform\8.6.3\mingw\lib,而不是试图找到单个路径 "C:\Program Files\Haskell Platform\8.6.3\mingw\lib"。在哪里可以找到这些配置数据,我需要做些什么来解决这个问题?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)