- 1 year ago
I am having an issue with cabal install and cannot seem to install pretty-simple
I'm sorry to hear that you're having trouble with installing pretty-simple using Cabal.
First, make sure that you have the latest version of Cabal installed by running the command cabal update
followed by cabal install cabal-install
.
If you already have the latest version of Cabal installed, you can try installing pretty-simple using the following command:
csscabal install pretty-simple --lib
The --lib
flag tells Cabal to install the package as a library, rather than an executable.
If that still doesn't work, you can try cleaning up your Cabal environment by running the following commands:
bashcabal clean
rm -rf ~/.cabal
rm -rf ~/.ghc
cabal update
This will remove any existing Cabal and GHC installations and start fresh. Once you've done this, try installing pretty-simple again with the cabal install pretty-simple --lib
command.
If you continue to experience issues, please provide more details about the specific error message you are receiving so that I can assist you further.