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
$ sudoaptinstall nodejs
Copied!
Install npm using the following command:
1
$ sudoaptinstallnpm
Copied!
Install LocalTunnel using the following command:
1
$ npminstall -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: