Cabal fails updating of cabal-install

北城余情 提交于 2019-12-04 12:43:27

What's the output of C:\Users\Alberto\AppData\Roaming\cabal\bin\cabal.exe -V?

You probably just need to set your PATH to make sure that C:\Users\Alberto\AppData\Roaming\cabal\bin is at/near the beginning.

You can set this in "Control Panel" -> "System" -> "Advanced System Settings" -> "Advanced" -> "Environment Variables" and then edit the "User variables".

What is your $PATH? It seems that you are using a cabal binary from somewhere else than C:\Users\Alberto\AppData\Roaming\cabal\bin, so that one continues to be used when you type cabal.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!