Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi,
This is the below error when i am runn
Feedback Type:
Frown (Error)
Timestamp:
2019-01-28T15:39:30.7237953Z
Local Time:
2019-01-28T21:09:30.7237953+05:30
Session ID:
843e0096-2b30-479c-90e6-330e0f834422
Release:
December 2018
Product Version:
2.65.5313.1381 (18.12) (x64)
Error Message:
Python script error.
Traceback (most recent call last):
File "PythonScriptWrapper.PY", line 2, in <module>
import os, matplotlib.pyplot, uuid, pandas
ModuleNotFoundError: No module named 'matplotlib'
OS Version:
Microsoft Windows NT 10.0.17134.0 (x64 en-US)
CLR Version:
4.7 or later [Release Number = 461808]
Peak Virtual Memory:
38.3 GB
Private Memory:
471 MB
Peak Working Set:
665 MB
IE Version:
11.523.17134.0
User ID:
6c616795-763c-4675-97fb-96f45e9478ed
Workbook Package Info:
1* - en-US, Query Groups: 0, fastCombine: Enabled, runBackgroundAnalysis: True.
Telemetry Enabled:
True
Model Default Mode:
Import
Snapshot Trace Logs:
C:\Users\koltu\AppData\Local\Microsoft\Power BI Desktop\FrownSnapShot1085200598.zip
Performance Trace Logs:
C:\Users\koltu\AppData\Local\Microsoft\Power BI Desktop\PerformanceTraces.zip
Enabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_SpanishLinguisticsEnabled
PBI_variationUIChange
PBI_PythonSupportEnabled
PBI_showIncrementalRefreshPolicy
Disabled Preview Features:
MIntellisense
PBI_PdfImport
PBI_ColumnProfiling
PBI_showManageAggregations
PBI_FuzzyMatching
PBI_EnableWebDiagramView
PBI_improvedFilterExperience
PBI_qnaLiveConnect
Disabled DirectQuery Options:
PBI_DirectQuery_Unrestricted
TreatHanaAsRelationalSource
Cloud:
GlobalCloud
DPI Scale:
125%
Supported Services:
Power BI
Formulas:
section Section1;
shared Sheet1 = let
Source = Excel.Workbook(File.Contents("C:\Users\koltu\OneDrive\Desktop\Lokesh.xlsx"), null, true),
Sheet1_Sheet = Source{[Item="Sheet1",Kind="Sheet"]}[Data],
#"Promoted Headers" = Table.PromoteHeaders(Sheet1_Sheet, [PromoteAllScalars=true]),
#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"Month", type date}, {"Peract", type number}, {"Target", type number}})
in
#"Changed Type";
shared COnver = let
Source = Excel.Workbook(File.Contents("C:\Users\koltu\OneDrive\Desktop\Lokesh.xlsx"), null, true),
COnver_Sheet = Source{[Item="COnver",Kind="Sheet"]}[Data],
#"Promoted Headers" = Table.PromoteHeaders(COnver_Sheet, [PromoteAllScalars=true]),
#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"Business", Percentage.Type}})
in
#"Changed Type";
Please help me.
Thanks,
K Raghavender Rao
Solved! Go to Solution.
hi, @kolturra
1. When you add the Python visual in the report, which Python script do you run? Please share the script.
2. Please run the Python script used in Power BI desktop on Power BI side to see if the same issue occurs.
3. In Power BI desktop, ensure the directory for Python has been set correctly:
If you still have the issue, You'd better post an issue case in Power BI Issue or create a support ticket in Power BI Support to get further help.
Best Regards,
Lin
hi, @kolturra
1. When you add the Python visual in the report, which Python script do you run? Please share the script.
2. Please run the Python script used in Power BI desktop on Power BI side to see if the same issue occurs.
3. In Power BI desktop, ensure the directory for Python has been set correctly:
If you still have the issue, You'd better post an issue case in Power BI Issue or create a support ticket in Power BI Support to get further help.
Best Regards,
Lin
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
92 | |
82 | |
71 | |
49 |
User | Count |
---|---|
143 | |
121 | |
111 | |
59 | |
57 |