I'm following a plotnine tutorial to do some plotting on Jupyter Notebook. But when I imported
from plotnine import *
I got an error: ModuleNotFoundError: No module named 'plotnine'
.
I'm new on Jupyter and plotnine. Have tried different things searched, but still don't know how to solve this ...
Make sure plotnine
is installed in your environment. Without more information about your environment, I can't give you a definitive answer, but this might work
!pip install plotnine
into cellThis should install plotnine
and you can use it from now one (and you can delete the cell, plotnine is now a permanent part of your environment)
In my case everything has failed, everytime it showed no module named plotnine however, requirement was already satisfied.
My problem got resolved by this command on terminal conda install -c conda-forge plotnine
source link : https://anaconda.org/conda-forge/plotnine
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.