ModuleNotFoundError: No module named 'oemof'

All QuestionsCategory: PythonModuleNotFoundError: No module named 'oemof'
Anonymous asked 3 years ago

I am getting this kind of error. How to fix it?
 

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-3818e4e5ab18> in <module>
      4 
      5 # Default logger of oemof
----> 6 from oemof.tools import logger
      7 from oemof.tools import economics
      8 from oemof import solph