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
Hi Anonymous ,
The error message "ImportError: Missing required dependencies ['numpy']" indicates that some library you imported requires the dependencies ['numpy'], after checking your code, it should be pandas.
In this scenario, we can install the numpy library by using the "pip install numpy".
Best Regards,
Teige
- Anonymous7 years agoNot applicable
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
- pkoetzing6 years agoAdvocate III
Every Anaconda environment requires activation before you can use it properly. Sounds familiar?
1. Open the Anaconda prompt.
2. Activate the environement that you configured in the PowerBI Desktop Scripting Options.
3. Start your PBIDesktop.exe from the prompt.
Simple as that.
- Steve_093 years agoRegular Visitor
This was not working, unfortunally