From the course: Power BI Data Methods (2019)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Installing Python

Installing Python

From the course: Power BI Data Methods (2019)

Start my 1-month free trial

Installing Python

- We can use python code as it's own data connection in Power BI. The python script must produce a result in a data frame output. I would recommend running the script first in a compiler like spider, or anaconda, to troubleshoot any potential issues. To download python, first go to the python website and download the latest version of python we see on the screen. Once downloaded, run the python executable. Click on install now. We see now that the setup was successful. Close out of this window. Now open up command prompt. Let's check to see if python is installed. Type python, space, dash dash, version. Okay, we see we have the most recent version. We need to make sure the PIP command line tool is installed so we can run the modules such as pandas, in our python script. To do this, go ahead and close out of the current command prompt. Open up the installer again by going to our downloads folder. Select modify.…

Contents