Forum Discussion
Anonymous
7 years agoNot applicable
Python Integration Error
Hi All, I am getting the following error while using python visual. I made use of anaconda distribution for python installation. Following is the error : Error Message: Python script err...
Anonymous
7 years agoNot applicable
Anonymous ,
Do you know what version of Python your Anaconda environment is using? I was running into issues importing packages with 3.6 and 3.7.
I was able to get around the error by creating a new conda env with Python 3.5:
conda create -n py35 anaconda python=3.5
Then pip installing relevant packages (I had issues with PowerBI recognizing conda installs):
conda activate py35
pip install matplotlib
pip install pandas
After this is complete, you need to point PowerBI to the new env.
Including steps for those less familiar:
File -> Options and Settings -> Options -> Python Scripting
Then add the Path to your new Env. Mine looks like:
"C:\ProgramData\Anaconda3\envs\py35"
This thread tipped me off to the issue:
Let me know if you have questions.
Anonymous
4 years agoNot applicable
Thank you! 🙂👍🏾