You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was already in the issues but nevertheless I face this currently.
from icecream import ic
a = 3
b = 4
ic(a+b)
ic| Error: Failed to access the underlying source code for analysis. Was ic() invoked in a REPL (e.g. from the command line), a frozen application (e.g. packaged with PyInstaller), or did the underlying source code change during execution?
Windows 10, Python 3.11.6. On the same machine Python 3.10 and Python 3.12 work fine, but 3.11 not.
python -VV
Python 3.11.6 (tags/v3.11.6:8b6ee5b, Oct 2 2023, 14:57:12) [MSC v.1935 64 bit (AMD64)]
The text was updated successfully, but these errors were encountered:
I had the same problem with a fresh venv and Python 3.11.7. I resolved it by replacing the complete /site-packages/executing folder by the most recent source distribution 2.0.1
This was already in the issues but nevertheless I face this currently.
ic| Error: Failed to access the underlying source code for analysis. Was ic() invoked in a REPL (e.g. from the command line), a frozen application (e.g. packaged with PyInstaller), or did the underlying source code change during execution?
Windows 10, Python 3.11.6. On the same machine Python 3.10 and Python 3.12 work fine, but 3.11 not.
The text was updated successfully, but these errors were encountered: