问题描述
每次我安装一个库时,cabal都会告诉我安装一个新版本的cabal-install。尽管我运行(显然成功)下面列出的过程,但cabal-install的版本保持不变。我哪里出错了? (我的操作系统是Windows 7 64位)我的用户PATH是C:\ Users \Alberto\AppData\Roaming\cabal\bin
系统变量:CABAL_DIR = C:\ Users \Alberto\AppData\Roaming\cabal
更新之前
的输出是什么?C:\ Users \Alberto\AppData\Roaming\ cabal \\\ \\\\\\\\\\\\\\\\\\\\\\\\\\\
Every time I install a library, cabal tells me to install a new version of cabal-install. Despite the fact that i run (with apparent success) the procedure that list below, the version of cabal-install remains unchanged. Where I am going wrong? (My OS is Window 7 64-bits)
My User PATH is C:\Users\Alberto\AppData\Roaming\cabal\bin
System variables: CABAL_DIR = C:\Users\Alberto\AppData\Roaming\cabal
BEFORE the update
C:\Users\Alberto>cabal -V cabal-install version 1.16.0.2 using version 1.16.0 of the Cabal library C:\Users\Alberto>cabal update Downloading the latest package list from hackage.haskell.org Note: there is a new version of cabal-install available. To upgrade, run: cabal install cabal-install C:\Users\Alberto>cabal install cabal-installAFTER the update
Linking dist\build\cabal\cabal.exe ... Installing executable(s) in C:\Users\Alberto\AppData\Roaming\cabal\bin Installed cabal-install-1.18.0.2 C:\Users\Alberto>cabal -V cabal-install version 1.16.0.2 using version 1.16.0 of the Cabal libraryBut:
C:\Users\Alberto>C:\Users\Alberto\AppData\Roaming\cabal\bin\cabal.exe -V cabal-install version 1.18.0.2 using version 1.18.1.2 of the Cabal libraryI am very confused about.
解决方案What's the output of C:\Users\Alberto\AppData\Roaming\cabal\bin\cabal.exe -V?
这篇关于Cabal未能更新cabal-install的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!