


Press Control + X and Y and then Enter to save the file. Press Control + C and use arrow keys to navigate to end of the file JAVA_HOME=/usr/java sudo rm Īdd the Java path in the /etc/profile file as follows: sudo nano /etc/profile sudo mv /YOUR_DOWNLOAD_PATH /usr/Įxtract the java tar file. Move the java tar file to /usr/ directory. The following setup is required to be performed in all master and slave nodes. To test the installation run the following command and it should show python version as 3.6.9.
#Spark for windows 10 install#
If there are no errors, run the following commands to complete the installation process of Python 3.6.9 sudo make sudo make install sudo apt-get update sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev build-essential zlib1g-dev wget tar -xvf Python-3.6.9.tgz sudo rm Python-3.6.9.tgz cd Python-3.6.9. You can follow along the below steps to install the python in your ubuntu 16.04 windows sub-system. Please make sure that each of the nodes (master and slave) are running on same version of python or else you will get errors. So, we also need to install required python version in sub-system and link it with spark. You can choose any python version you want. python3 -Vīy default spark comes with python 2, however for distributed deep learning development I prefer to use python version as 3.6.x (because of the compatibility issues of other libraries). I am using Ubuntu 16.04 (highly recommended because it is most stable version and I didn’t find any compatibility issues) that comes with python 3.5.2 versions which you can check by following command. To install windows sub-system you can follow the tutorial here. Windows 10 offers an application to install sub-operating-system known as the windows sub-system (WSL).

Installing python in windows sub-system (Ubuntu 16.04).
