Forum Discussion
Andreas_
6 years agoRegular Visitor
Can't draw Python visual using Basemap shadedrelief
Hi, I am having some trouble drawing a simple map in Power BI using Python, now the map works fine outside of Power BI, however it throws an error saying it 'can't display the visual', and the error...
- 6 years ago
As mentioned in my post edit, I had the following in my stacktrace (that I didn't check properly):
File "PythonScriptWrapper.PY", line 18, in <module> from PIL import Image ModuleNotFoundError: No module named 'PIL'Since it worked outside of PowerBI I suspect the issue was related to me using Anaconda, as previously I had to re-install all other dependencies with pip for them to be recognized, seems I simply missed one!
v-diye-msft
6 years agoCommunity Support
Hi Andreas_
It seems you've fixed it, glad to know that! would you mind posting your solution in the thread and mark it as an answer that others can find it more quickly? thanks a lot!