Python fastai.structured仍然是fastai库的一部分吗

Python fastai.structured仍然是fastai库的一部分吗,python,fast-ai,Python,Fast Ai,为什么我会出错fastai.structured不是模块 我已尝试安装fastai的早期版本。但没有任何帮助 from fastai.imports import * from fastai.structured import * #from pandas_summary import DataFrameSummary from sklearn.ensemble import RandomForestRegressor, RandomForestClassifier from IPython.

为什么我会出错fastai.structured不是模块

我已尝试安装fastai的早期版本。但没有任何帮助

from fastai.imports import *
from fastai.structured import *

#from pandas_summary import DataFrameSummary
from sklearn.ensemble import RandomForestRegressor, RandomForestClassifier
from IPython.display import display

from sklearn import metrics
ModuleNotFoundError回溯(最近一次调用)
在()
1从fastai.imports进口*
---->2来自fastai.structured import*
3.
4 35;从pandas#U摘要导入DataFrameSummary
5从sklearn.employ导入RandomForestRegregator,RandomForestClassifier
ModuleNotFoundError:没有名为“fastai.structured”的模块
---------------------------------------------------------------------------
注意:如果由于缺少包而导致导入失败,则可以
手动安装依赖项使用!皮普或!恰当的。
要查看安装某些常见依赖项的示例,请单击
下面的“打开示例”按钮。

该模块不再包含在fastai的默认python包中。用于使用fastai软件包的默认设置命令将不再包括该模块。您可能需要从GitHub master下载它,将其保存到工作目录,然后从工作目录导入jupyter笔记本

以下是fastai论坛的一条说明:

structured.py已被移动到文件夹“old”(预期将移动到fastai_v1)。 ---安德烈10月18日

从工作目录导入时:
来自结构化导入*

这将取代:
来自fastai.structured import*

ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-17-35432a48f631> in <module>()
      1 from fastai.imports import *
----> 2 from fastai.structured import *
      3 
      4 #from pandas_summary import DataFrameSummary
      5 from sklearn.ensemble import RandomForestRegressor, RandomForestClassifier

ModuleNotFoundError: No module named 'fastai.structured'

---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.