How to install an older version of base in Haskell - haskell

I have installed Haskell platform and I have the 7.10.3 version of ghci, which has the 4.8.2.0 version of base. I need to install gloss-1.8.* which needs base-4.7.* version of base.
My question is how to install this older version now, when I already have the newer version. Is it possible? Or do I have to uninstall the Haskell platform and install an older version?

Related

how to install python 3.9.6 using homebrew on Mac m1

Im new to programming and stuff and was looking to install python 3.9.6 using home-brew. To do that would I just have to type in brew install python#3.9 into the terminal, or is there some other way? Thanks!
You can't ensure a specific version 3.9.6 with brew package python#3.9. Homebrew is a package manage designed to get latest pacakge. python#3.9 will be kept updating to the latest patch version 3.9.x.
If you REALLY to stick with specific python version, choose conda (miniconda is preferred) or pyenv.

How to downgrade Thrift version on Ubuntu?

I am using Thrift version 0.14.0 on my Ubuntu (20.04.2 LTS).
However, I need to downgrade it to version 0.9.3 for working purposes.
I try to replace version 0.9.3, remove the current thrift version but it doesn't work.
Despite many ways to install the custom version, the current version is still 0.14.0 (thrift --version)
Can you give me the solution? Thank you so much.

Node.js on Windows: upgrade or uninstall & reinstall?

I am on Windows 7 and I need to have a newer specific version of node.js than one currently installed. What is the recommended approach: upgrade to newer specific version OR uninstall current version and then install the newer specific version?
Thanks
just use lastest LST from https://nodejs.org/en/ : 10.16.0 LST

best_score_ parameter from GridSearchCV from spark-sklearn doesn't work with version 0.2.3

I am looking to use best_score_ parameter from GridSearchCV function, but it looks like that is not present in the latest version of the library spark-sklearn (version 0.2.3). When I'm trying to uninstall the latest version and reinstall and older version (with version 0.2.0) with the command
pip install spark-sklearn-0.2.0
It does not work. How can I install older versions of spark-sklearn library in my cluster environments? best_score_ parameter seems to work fine in version 0.2.0.
Thanks
There is a known issue with spark-sklearn version 0.2.3 for not having best_score_ parameter in gridSearchCV. The issue can be found here at
https://github.com/databricks/spark-sklearn/issues/73
To install older version of the library, use the following command:
pip install spark-sklearn==0.2.0

npm package toggle version?

Installed the gitbook and gitbook-cli modules, because of an incompatibility problem, multiple versions are installed, how to switch the package version of the module ?
demo:
$ gitbook ls
GitBook Versions Installed:
* 3.2.3
3.1.1
3.1.0
3.0.3
3.0.0
2.6.7
2.6.6
2.6.4
2.5.0
2.3.2
2.1.0
2.0.0
Run "gitbook update" to update to the latest version.
According to Documentation,
By default, GitBook CLI will read the gitbook version to use from the book configuration, but you can force a specific version using --gitbook option:
$ gitbook build ./mybook --gitbook=2.0.1
Therefore change the book config version to the required version or use the above line to force the build.
If you do not need a particular version just uninstall it.
$ gitbook uninstall 2.0.1

Resources