Closed SmartManoj closed 2 years ago
I don't really understand what you're saying, but I'm guessing the problem is that ic
is printing to stderr and for some reason you can only see stdout.
oops It's disabled in the package with the var NIMPORTER_INSTRUMENT. Sorry
@alexmojaki
Re: "I don't really understand what you're saying, but I'm guessing the problem is that ic is printing to stderr and for some reason you can only see stdout."
This maybe the problem I'm having. What is the solution? Thanks
ic.configureOutput(outputFunction=print)
For use in multiple files, is the sequence in the root source?:
from icecream import ic
ic.configureOutput(outputFunction=print)
from icecream import install
install()
Yes, that looks fine. You can merge the two imports into one line.
v2.1.2
Steps to reproduce:
import faster_than_requests
Output:
Used monkey-patch:
New output: