Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have created a working report in Power BI Desktop and I am trying to publish it to Power BI Services. Within custom R visualizations I have made, I have used reticulate and I am having trouble accessing python on Power BI Services. For my visualizations, I receive the following error:
Error in initialize_python(required_module, use_environment) : Installation of Python not found, Python bindings not loaded.
I have also tried using the conda environment 'r-reticulate' and received the following error then:
Error: Unable to find conda binary. Is Anaconda installed?
I am confused why reticulate is not successfully binding to python since reticulate appears to be a supported package in Power BI. Is there anyway I can successfully bind my R code to python so that I can use reticulate in Power BI Services?
Solved! Go to Solution.
For anyone wondering I was not able to find a way to access Python through reticulate on Power BI Services. Instead I rewrote all my Python code in R when I had everything that I wanted finalized.
Hi @Anonymous ,
Please check whether the path local installation of R is C:\Program Files\R\R-3.5.3. ( Options and settings > Options > R Scripting.)
And you also check the limitations of R through this article.
Please refer the following two post, hope them help.
https://community.powerbi.com/t5/Desktop/R-Visual-Rcpp-package-error/td-p/471272
https://community.powerbi.com/t5/Desktop/Error-when-connecting-python-to-PBI/td-p/593716
If it doesn’t meet your requirement, we suggest you to open a ticket here for help: https://powerbi.microsoft.com/en-us/support/
Let engineers solve this issue from your perspective.
Best regards,
Community Support Team _ zhenbw
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
For anyone wondering I was not able to find a way to access Python through reticulate on Power BI Services. Instead I rewrote all my Python code in R when I had everything that I wanted finalized.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.