本文介绍了找不到模块Data.Colour的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法导入模块Data.Colour,错误如下:

找不到模块`Data.Colour'
使用-v查看搜索的文件列表。
失败,模块已加载:无。



我缺少什么? / div>

显示此模块位于包中,您大概不会已安装。要安装它,运行 cabal update ,然后运行 cabal install color


I cannot import module Data.Colour, and the error as follow:

Could not find module `Data.Colour' Use -v to see a list of the files searched for.Failed, modules loaded: none.

Am I missing anything?

解决方案

A Hayoo! search reveals that this module lives in the colour package, which you presumably don't have installed. To install it, run cabal update followed by cabal install colour.

这篇关于找不到模块Data.Colour的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 13:13