嵌入在Power BI中的Python

时间:2019-09-24 11:31:46

标签: python powerbi

我试图用python编写代码并在power BI中运行结果。但是做不到。因为它一直显示错误消息

Feedback Type:
Frown (Error)

Timestamp:
2019-09-24T11:28:24.8416717Z

Local Time:
2019-09-24T13:28:24.8416717+02:00

Session ID:
92c96214-4682-4f59-9a7e-79720e784836

Release:
December 2018

Product Version:
2.65.5313.701 (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
  File "C:\Users\afoto001\AppData\Local\Continuum\anaconda3\lib\site-packages\matplotlib\__init__.py", line 138, in <module>
    from . import cbook, rcsetup
  File "C:\Users\afoto001\AppData\Local\Continuum\anaconda3\lib\site-packages\matplotlib\cbook\__init__.py", line 31, in <module>
    import numpy as np
  File "C:\Users\afoto001\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\__init__.py", line 140, in <module>
    from . import _distributor_init
  File "C:\Users\afoto001\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\_distributor_init.py", line 34, in <module>
    from . import _mklinit
ImportError: DLL load failed: The specified module could not be found.


OS Version:
Microsoft Windows NT 10.0.16299.0 (x64 en-US)

CLR Version:
4.7 or later [Release Number = 461814]

Peak Virtual Memory:
34.3 GB

Private Memory:
435 MB

Peak Working Set:
594 MB

IE Version:
11.1268.16299.0

User ID:
a100e4e1-3e12-49af-be2f-7814f4de7efc

Workbook Package Info:
1* - nl-NL, Query Groups: 0, fastCombine: Disabled, runBackgroundAnalysis: True.

Telemetry Enabled:
True

Model Default Mode:
Import

Snapshot Trace Logs:
C:\Users\afoto001\AppData\Local\Microsoft\Power BI Desktop\FrownSnapShot376419533.zip

Performance Trace Logs:
C:\Users\afoto001\AppData\Local\Microsoft\Power BI Desktop\PerformanceTraces.zip

Enabled Preview Features:
PBI_PythonSupportEnabled

Disabled Preview Features:
PBI_shapeMapVisualEnabled
MIntellisense
PBI_SpanishLinguisticsEnabled
PBI_PdfImport
PBI_ColumnProfiling
PBI_variationUIChange
PBI_showIncrementalRefreshPolicy
PBI_showManageAggregations
PBI_FuzzyMatching
PBI_EnableWebDiagramView
PBI_improvedFilterExperience
PBI_qnaLiveConnect

Disabled DirectQuery Options:
PBI_DirectQuery_Unrestricted
TreatHanaAsRelationalSource

Cloud:
GlobalCloud

DPI Scale:
100%

有建议的人吗?

0 个答案:

没有答案