question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ImportError: cannot import name 'TabularPrediction' from 'autogluon' (/home/tommaso/repos/gemintelligence/env/lib/python3.7/site-packages/autogluon/__init__.py)

See original GitHub issue

I am getting this error with a fresh install using the commands in the home page

# Here we assume CUDA 10.1 is installed.  You should change the number
# according to your own CUDA version (e.g. mxnet_cu100 for CUDA 10.0).
python3 -m pip install --upgrade "mxnet_cu101<2.0.0"
python3 -m pip install autogluon

And then

from autogluon import TabularPrediction as task

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:10

github_iconTop GitHub Comments

1reaction
Innixmacommented, Dec 8, 2020

This issue has been fixed with the release of v0.0.15. Please install the new version from a fresh environment to avoid any corruptions from prior installs. v0.0.15 should work identically to v0.0.14 minus the installation issue.

0reactions
pathikgcommented, Jul 9, 2021

@Innixma I am really sorry , I forgot to update the issue and the link to the older notebook file which had that issue where I was installing the autogluon with the above instructions as mentioned but I found another notebook of yours in an another issue which resolved my issue so thanks for that 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

ImportError: cannot import name 'TabularPrediction ... - GitHub
I have another question, I tried to install autogluon in Kaggle Kernels and followed the steps you mentioned, but I still got the...
Read more >
Cannot import TabularPrediction from AutoGluon
You are trying to import TabularPrediction from AutoGluon, but are getting an error message. Console Copy. ImportError: cannot import name ' ...
Read more >
Cannot import TabularPrediction from AutoGluon - Databricks
You are trying to import TabularPrediction from AutoGluon, but are getting an error message. ImportError: cannot import name 'TabularPrediction' ...
Read more >
autogluon.tabular - PyPI
AutoGluon automates machine learning tasks enabling you to easily achieve ... from autogluon.tabular import TabularDataset, TabularPredictor train_data ...
Read more >
Source code for autogluon.tabular.predictor.predictor
[docs]class TabularPredictor: """ AutoGluon TabularPredictor predicts values in a column of a tabular dataset (classification or regression).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found