ImportError: No module named matplotlib.pyplot

pip will make your life easy! Step 1: Install pip – Check if you have pip already simply by writing pip in the python console. If you don’t have pip, get a python script called get-pip.py , via here: https://pip.pypa.io/en/latest/installing.html or directly here: https://bootstrap.pypa.io/get-pip.py (You may have to use Save As ..) Step 2: Take … Read more

importing pyspark in python shell

Assuming one of the following: Spark is downloaded on your system and you have an environment variable SPARK_HOME pointing to it You have ran pip install pyspark Here is a simple method (If you don’t bother about how it works!!!) Use findspark Go to your python shell pip install findspark import findspark findspark.init() import the … Read more