Forum Discussion
Power BI Python with Anaconda missing dependency
- Anonymous7 years ago
The Python environment I'm referring to already has the required dependencies installed. I was suspecting the error to be caused by the activate.bat file not activating the Python environment in Anaconda, prior to running the script. However, I managed to resolve my problem simply by updating Python in Anaconda Prompt i.e.
conda upgrade python
can you please refere to a step-by-set setup. It seems using python directory and IDE anaconda's python exe file
I cannot get it run with a demo script
- mjeh6 years agoFrequent Visitor
Step by step procedure:
- Download last version of Winpython from : https://winpython.github.io/
- Install Winpython on C: \
- In Power BI Desktop, select File > Options and settings > Options > Python scripting. The Python script options page appears.
- Specify the local Python installation path with the Winpython folder defined at step 2
- Restart Power BI
- TimoRiikonen6 years agoAdvocate V
WinPython solution with a minor edit.
Step by step procedure:
- Download last version of Winpython from : https://winpython.github.io/
- Install Winpython on C: \
- In Power BI Desktop, select File > Options and settings > Options > Global > Python scripting. Set
Python home directory as something like C:\WPy64-3770\python-3.7.7.amd64
- Optional: Restart Power BI
- Anonymous5 years agoNot applicable
Hi Timo,
I tried to set it up with the home directory at C:[...]\WPy64-3940\python-3.9.4.amd64 but got a note saying that this is an invalid path. Any ideas?
In general and just because I'm new to this, what's the appropriate way to get Power BI able to run Python scripts (eg the one here).
All necessary packages/libraries (pandas, numpy, matplotlib) are installed however, I am still unable to work with it.
Any help would be really appreciated!
Kostas
- stephank6 years agoFrequent Visitor
wow, that really worked. thank you so much
Stephan