No module named 'pmdarima'
Asked Answered
C

6

12

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'
Coalfield answered 19/9, 2019 at 3:3 Comment(0)
U
17

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.

Unasked answered 19/9, 2019 at 3:39 Comment(0)
B
4

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
Backblocks answered 14/12, 2020 at 11:49 Comment(0)
T
1

Open up the Anaconda Command prompt and run pip3 install pmdarima

Worked like a charm for me.

Theological answered 1/12, 2021 at 3:8 Comment(1)
As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.Toxicogenic
S
0

First of all check your internet connection. Then try the following in your jupyter:

pip install pmdarima

Then reboot.

Strappado answered 30/9, 2021 at 16:59 Comment(0)
E
0

in Jupyternotebook

!pip install pmdarima

for conda environments

conda install -c saravji pmdarima

from command line in windows

pip install pmdarima

Evesham answered 31/7, 2022 at 7:6 Comment(1)
Keshav, you no longer want to suggest using en exclamation point in combination with pip for working in notebooks. The modern magics %pip install and %conda install were added that overcome the environment issues that can arise when using an exclamation point with pip. See here for more about the recently added magic commands.Solarium
T
0

Do you have another conda environment where jupyter notebook is running? If so, you can switch to that conda environment using "conda activate {your jupyter notebook env}" before installing new packages.

Thereunder answered 21/8, 2023 at 9:20 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.