python - 无法在 Jupyter Notebook 上运行 fastai 库

标签 python machine-learning anaconda jupyter-notebook fast-ai

我希望这个问题不是多余的,但到目前为止我在互联网上找不到解决方案。我按照 github 指南 ( https://github.com/fastai/fastai ) 在我的 Anaconda 环境中安装 fastai 库。我想使用这个库来解决 ML 类(class)并用它解决其他 Kaggle 竞赛。

如下所示,我将打开 conda 环境,选择 fastai 并打开 Jupyter Notebook:

enter image description here

当尝试在 Jupyter 中运行包时,我仍然收到导入错误,其中没有名为“fastai”的模块。对我做错了什么有什么建议吗?

最佳答案

有同样的问题。看起来问题出在“软链接(soft link)”fastai,它在 Windows 上不起作用。
我通过用存储库根目录中的真实模块 fastai 替换该 soflinks 来修复它。只需将其复制到类(class)\dl1、类(class)\dl2、类(class)\dm1 和教程文件夹中。
普里脏了。但有效。让我知道如何在不复制的情况下修复它。

关于python - 无法在 Jupyter Notebook 上运行 fastai 库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50581985/

相关文章:

python - 在 Py_BuildValue ("y#"之后是否需要 PyBuffer_Release,...)?

python - 将多个函数应用于 pandas groupby apply 返回多个数据帧?

python - 使用 rest api 在 google drive 中创建新文件夹

python - 错误地连接 Pandas 中的列

machine-learning - ELKI 可以处理多大的数据集?

python - 在 Sklearn 中,有没有一种干净的方法来转换字典列表?

python-3.x - Jupyter 笔记本 Python 内核 - FileNotFoundError : [Errno 2] No such file or directory python3

anaconda - 使用 python=3.6 build 在 anaconda 上安装 dlib 失败

python - 根据越过边界的数量,以颜色突出显示超过或低于阈值的 matplotlib 点

python - 如何在sequel server management studio 2017中使用正确的语法直接运行python代码