简体   繁体   中英

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.

Run ! pip install <package> ! 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

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.

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