安装Haskell Gloss [英] Installing Haskell Gloss

查看:106
本文介绍了安装Haskell Gloss的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试了解我在Windows上安装haskell时遇到的最困难的时间。我已经下载了平台二进制文件并运行了.exe文件。

I'm having the most difficult time trying to understand what I am doing wrong with installing haskell on windows. I've downloaded the platform binary and ran the .exe file. Afterwards the instructions on their hackage website tells me to run cabal install gloss.

每当我在他们的GHCI shell中尝试这个功能,我都会收到以下错误:

Whenever I try this in their GHCI shell, I get the following errors:

<interactive>:1:1: Not in scope 'cabal'
<interactive>:1:7: Not in scope 'install'
<interactive>:1:15: Not in scope 'gloss'

我知道一个事实 cabal install gloss 不是正确的命令,但我似乎无法在网上找到任何东西,这将帮助我弄清楚这一点。感谢您的帮助。

I know for a fact cabal install gloss isn't the correct command, but I can't seem to find anything online that'll help me figure this out. Would much appreciate your help.

谢谢!

Thanks!

推荐答案

→运行。输入 cmd ,然后按Enter键。将出现一个Windows命令提示符窗口,您可以在其中运行 cabal install gloss 命令。

Click Start → Run. Type cmd and press Enter. A Windows command prompt window will appear, in which you can run the cabal install gloss command.

这篇关于安装Haskell Gloss的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆