Forum Discussion
Python Script Error
Hi,
I installed Python and the following libraries on my desktop through the Command Prompt: Pandas,Numpy and Matplolib.
However, when I try to run any Python script, I get the following error message:
Python Script Error
Traceback (most recent call last):
File "PythonScriptWrapper.PY", line 2, in <module>
import os,uuid, matplotlib
ModuleNotFoundError:No Module named 'matplotlib'
Anonymous ,
Please check how many versions of python have been installed on your server. And which packages have been installed in the site-packages of each python version.
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 Replies
- Greg_DecklerCommunity ChampionLooks like you haven't imported some required modules into your Python instance or they are not in the right place where Power BI Desktop is looking. Check File | Options and settings | Options | Python Scripting.
- v-yuta-msftCommunity Support
Anonymous ,
Please check how many versions of python have been installed on your server. And which packages have been installed in the site-packages of each python version.
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.