SeeDerekEngineer
SeeDerekEngineer

Reputation: 780

How to install module in Jupyter Notebooks for iPython

I am using an iPython note in Jupyter Notebooks and need to use the import lmfit. How can I import it such that it will become available in my jupyter notebook?

I should clarify this question applies to multiple modules (really anything you could install using pip or conda). I am trying to determine how to install modules in a Jupyter Notebook.

Upvotes: 1

Views: 2459

Answers (2)

Abhay
Abhay

Reputation: 615

Please check the installation guide for lmfit here.

There is some problem with this package. Even after installation, import to lmfit is not possible. My advise is to ask for support here or check the git repository and raise an issue.

Upvotes: 0

Mogi
Mogi

Reputation: 614

Run ! pip install <package> within the jupyter notebook.

The ! tells the notebook to run the command in bash, just make sure the pip you are using is the same interpreter the notebook is using

Upvotes: 1

Related Questions