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
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.