我已经在我的 Windows 10 64位计算机上使用以下命令安装了{{ message }}
:
xgboost
但是在我的一个python文件中导入xgboost时,它失败并显示以下错误:
pip3 install C:\Softwares\xgboost-0.72-cp36-cp36m-win32.whl
有人可以帮我吗?另外,我曾尝试在自己的操作系统中安装---------------------------------------------------------------------------
OSError Traceback (most recent call last)
<ipython-input-11-2b521fb1d447> in <module>()
6 import sklearn.linear_model as linear_model
7 import seaborn as sns
----> 8 import xgboost as xgb
9 from sklearn.model_selection import KFold
10 from IPython.display import HTML, display
c:\users\1022004\appdata\local\programs\python\python36-32\lib\site-packages\xgboost\__init__.py in <module>()
9 import os
10
---> 11 from .core import DMatrix, Booster
12 from .training import train, cv
13 from . import rabit # noqa
..............................
c:\users\1022004\appdata\local\programs\python\python36-32\lib\ctypes\__init__.py in __init__(self, name, mode, handle, use_errno, use_last_error)
346
347 if handle is None:
--> 348 self._handle = _dlopen(self._name, mode)
349 else:
350 self._handle = handle
OSError: [WinError 126] The specified module could not be found.
文件,但其说法是它不支持wheel文件。