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.

Scipy factorial ImportError on Kaggle

See original GitHub issue

Kaggle doesn’t have pyramid library. So I need to install it using !pip install pyramid-arima and !pip install pyramid.

But after that, when I want to import auto_arima: from pyramid.arima import auto_arima

Kaggle show me an error:

ImportError: cannot import name ‘factorial’

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
storabiancommented, Jul 10, 2019

Part of the issue template asks for versions of various packages. Can you please post the version of scipy? Betting you need to bump it. (Should be >= 1.3)

I’ve just checked in Kaggle, the current version is: scipy 1.2.2

Now I’ve upgraded the scipy to the latest version and trying to see if the issue is fixed with it

1reaction
tgsmith61591commented, Jul 10, 2019

The package name changed to pmdarima some time ago. See #34 for background.

Run:

pip install pmdarima
Read more comments on GitHub >

github_iconTop Results From Across the Web

I am not able to import statsmodel.api into kaggle kernel
... ImportError: cannot import name 'factorial'. I've upgraded the scipy package, and I am still getting the same error. I am new to...
Read more >
issue with auto.arima import | Data Science and ... - Kaggle
But after that, when I want to import auto_arima: from pyramid.arima import auto_arima. Kaggle show me an error: ImportError: cannot import name 'factorial'....
Read more >
House Prices: EDSA team 21 | Kaggle
Python · House Prices - Advanced Regression Techniques ... rv_continuous 9 import scipy.special as special ImportError: cannot import name 'factorial'.
Read more >
Boston house price prediction using mlp regression | Kaggle
from sklearn import datasets import numpy as np import pandas as pd import ... import scipy.special as special ImportError: cannot import name 'factorial'....
Read more >
Chapter 8 - Kaggle
Program representing indexing of strings string = "python" for i in range(len(string)): ... ValueError, ZeroDivisionError; IndexError, KeyError, ImportError ...
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