# debug用
from icecream import ic
ic("icecream test")
ModuleNotFoundError
No module named 'icecream'
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
/tmp/ipykernel_41/3888832687.py in <module>
1 # debug用
----> 2 from icecream import ic
3
4 ic("icecream test")
ModuleNotFoundError: No module named 'icecream'
ModuleNotFoundError
No module named 'icecream'
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
/tmp/ipykernel_41/3888832687.py in <module>
1 # debug用
----> 2 from icecream import ic
3
4 ic("icecream test")
ModuleNotFoundError: No module named 'icecream'
!pip install icecream
Collecting icecream
Downloading icecream-2.1.2-py2.py3-none-any.whl (8.3 kB)
Collecting asttokens>=2.0.1
Downloading asttokens-2.0.5-py2.py3-none-any.whl (20 kB)
Requirement already satisfied: pygments>=2.2.0 in /srv/conda/envs/notebook/lib/python3.7/site-packages (from icecream) (2.11.2)
Collecting executing>=0.3.1
Downloading executing-0.8.3-py2.py3-none-any.whl (16 kB)
Collecting colorama>=0.3.9
Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Requirement already satisfied: six in /srv/conda/envs/notebook/lib/python3.7/site-packages (from asttokens>=2.0.1->icecream) (1.16.0)
Installing collected packages: executing, colorama, asttokens, icecream
Successfully installed asttokens-2.0.5 colorama-0.4.4 executing-0.8.3 icecream-2.1.2
# debug用
from icecream import ic
ic("icecream test")
ic
|
'
icecream test
'
'icecream test'