Installation

Local Installation

The recommended way of installing explainX library is by using pip - the python package manager.
1
$ pip install explainx
Copied!
Make sure you have Python 3.6 or 3.6+
Note that this will automatically install all dependencies and requirements required. ExplainX strives to support the latest versions.

Cloud Installation

If you are running your IDE or Jupyter notebook on the cloud, follow the following instructions. You will need to install Node.js and LocalTunnel using the following instructions.
Note: For AWS Sagemaker, follow "Install Node.js and LocalTunnel on CentOS"

1. Install Node.js and LocalTunnel on Ubuntu

Open the terminal
Install Node.js using the following command:
1
$ sudo apt install nodejs
Copied!
Install npm using the following command:
1
$ sudo apt install npm
Copied!
Install LocalTunnel using the following command:
1
$ npm install -g localtunnel
Copied!
Install explainX library using the following command:
1
$ pip install explainx
Copied!

2. Install Node.js and LocalTunnel on MacOS

Open the terminal
Install XCode Command Line Tools using the following command:
1
$ xcode-select --install
Copied!
Install brew using the following command:
1
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Copied!
Install Node.js using the following command:
1
$ brew install nodejs
Copied!
Install LocalTunnel using the following command:
1
$ npm install -g localtunnel
Copied!
Install explainX library using the following command:
1
$ pip install explainx
Copied!

3. Install Node.js and LocalTunnel on Windows

Install Node.js
Open the terminal and run the following command to install LocalTunnel
1
$ npm install -g localtunnel
Copied!
Install explainX library using the following command:
1
$ pip install explainx
Copied!

4. Install Node.js and LocalTunnel on CentOS

Open the terminal
Run the following command:
1
$ curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash -
Copied!
Install Node.js using the following command:
1
$ sudo yum install nodejs
Copied!
Install npm using the following command:
1
$ sudo yum install npm
Copied!
Install LocalTunnel using the following command:
1
$ npm install -g localtunnel
Copied!
Install explainX library using the following command:
1
$ pip install explainx
Copied!
Last modified 9mo ago
Export as PDF
Copy link