DataSource.Error: ADO.NET: Python script error.
Traceback (most recent call last):
File "PythonScriptWrapper.PY", line 3, in <module>
matplotlib.use('Agg')
File "C:\USERS\KHALA\ANACONDA3\lib\site-packages\matplotlib\cbook\deprecation.py", line 296, in wrapper
return func(*args, **kwargs)
File "C:\USERS\KHALA\ANACONDA3\lib\site-packages\matplotlib\cbook\deprecation.py", line 358, in wrapper
return func(*args, **kwargs)
File "C:\USERS\KHALA\ANACONDA3\lib\site-packages\matplotlib\__init__.py", line 1280, in use
from matplotlib import pyplot as plt
File "C:\USERS\KHALA\ANACONDA3\lib\site-packages\matplotlib\pyplot.py", line 2282, in <module>
switch_backend(rcParams["backend"])
File "C:\USERS\KHALA\ANACONDA3\lib\site-packages\matplotlib\pyplot.py", line 221, in switch_backend
backend_mod = importlib.import_module(backend_name)
File "C:\USERS\KHALA\ANACONDA3\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "C:\USERS\KHALA\ANACONDA3\lib\site-packages\matplotlib\backends\backend_agg.py", line 50, in <module>
from PIL import Image
File "C:\USERS\KHALA\ANACONDA3\lib\site-packages\PIL\Image.py", line 94, in <module>
from . import _imaging as core
ImportError: DLL load failed while importing _imaging: The specified module could not be found.
Details:
DataSourceKind=Python
DataSourcePath=Python
Message=Python script error.
Traceback (most recent call last):
File "PythonScriptWrapper.PY", line 3, in <module>
matplotlib.use('Agg')
File "C:\USERS\KHALA\ANACONDA3\lib\site-packages\matplotlib\cbook\deprecation.py", line 296, in wrapper
return func(*args, **kwargs)
File "C:\USERS\KHALA\ANACONDA3\lib\site-packages\matplotlib\cbook\deprecation.py", line 358, in wrapper
return func(*args, **kwargs)
File "C:\USERS\KHALA\ANACONDA3\lib\site-packages\matplotlib\__init__.py", line 1280, in use
from matplotlib import pyplot as plt
File "C:\USERS\KHALA\ANACONDA3\lib\site-packages\matplotlib\pyplot.py", line 2282, in <module>
switch_backend(rcParams["backend"])
File "C:\USERS\KHALA\ANACONDA3\lib\site-packages\matplotlib\pyplot.py", line 221, in switch_backend
backend_mod = importlib.import_module(backend_name)
File "C:\USERS\KHALA\ANACONDA3\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "C:...
ErrorCode=-2147467259
ExceptionType=Microsoft.PowerBI.Scripting.Python.Exceptions.PythonScriptRuntimeException
**在训练数据集时,power BI的python脚本中出现此错误。我已安装所有必需的库,但仍有错误…**
目前没有回答
相关问题 更多 >
编程相关推荐