Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No module named 'pmdarima'

Im using the jupyter notebook from remote access and want to import the pmdarima for the auto_arima to select the arima model. How can I install the pmdarima through remote access ?

import auto_arima package

from pmdarima import auto_arima

The result:

ModuleNotFoundError: No module named 'pmdarima'
like image 496
Yizzi Avatar asked Sep 19 '19 03:09

Yizzi


3 Answers

you can do !pip install pmdarima in a jupyter cell and it should install the package in where ever the jupyter server is running and the python installed in it.

like image 64
cerofrais Avatar answered Oct 11 '22 07:10

cerofrais


Assuming that you are using Conda, access the prompt for the environment that you are working with and install the module pmdarima by running

conda install -c saravji pmdarima 

(Source)


Alternatively one might use pip (pmdarima pypi)

pip install pmdarima
like image 33
Gonçalo Peres Avatar answered Oct 11 '22 05:10

Gonçalo Peres


Open up the Anaconda Command prompt and run pip3 install pmdarima

Worked like a charm for me.

like image 1
Prakhar Srivastava Avatar answered Oct 11 '22 06:10

Prakhar Srivastava