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?
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With