简体   繁体   中英

Unable to import auto_arima from pmdarima Jupyter

I am trying to import the auto_arima function from pmdarima, but am encountering problems and was unable to do so.

The error message is as follow:

C:\Anaconda2\envs\ipykernel_py3\lib\multiprocessing\connection.py in <module>
     19 import itertools
     20 
---> 21 import _multiprocessing
     22 
     23 from . import util

ImportError: DLL load failed while importing _multiprocessing: The specified module could not be found.

I installed pmdarima using the command and was successful.

conda install -c saravji pmdarima

But I was unable to import the auto_arima function in the pmdarima package. I have tried upgrading numpy as it is mentioned in other posts, but that still didn't solve the problem.

Does anyone have any idea about this type of error? Thanks so much!

I had this same problem & and the reason is probably that you're using python 3.8 and pmdarima isn't installed there yet but u can try this while installing in jupyter

first cell: (installation)

! pip install pmdarima
import warnings 
warnings.filterwarnings('ignore')

The second Cell: (installing auto_arima )

from pmdarima import auto_arima

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM