Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Anaconda in Windows with Power BI

I am trying to work with Python in my Windows 10 Machine. My Anaconda environment can be set by executing the following command:

c:\Users\bharat.c.rupare.> call c:\Users\bharat.c.ruparel\AppData\Local\Continuum\anaconda3\Scripts\activate.bat

this sets up the conda environment and then I am good to go. However, I am trying to run Python code using numpy and pandas which are pre-installed in the Anaconda stack within Power BI. When I do that, Power BI complains that it cannot find numpy. I understand why; because the conda environment has not been activated from within Power BI.

What do I need to do to activate the conda environment so that Power BI can find the python packages such as numpy, pandas?

like image 857
Bharat Avatar asked Oct 19 '18 02:10

Bharat


People also ask

Can I use Anaconda with Power BI?

Installing Anaconda For Python Language In Power BIYou can go to anaconda.com and navigate through the download screen. You can also go to Google and search “Anaconda Python Install”. Then, click on the link that says Installation – Anaconda Documentation.

Can Python be integrated with Power BI?

By implementing Python in Power BI, you can benefit from both Python and Power BI. You can easily perform EDA and create presentations using Power BI's interactive dashboard. You also have the flexibility to write Python code for the dashboard.


1 Answers

I'll try to find the link, but Power BI doesn't play nice with Anaconda. I installed WinPython (https://winpython.github.io) instead, and have had no problems with Power BI and python since.

like image 138
Jason Ryan Avatar answered Nov 15 '22 17:11

Jason Ryan