1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

開発でチャレンジして、失敗・成功したことをシェアしよう by 転職ドラフトAdvent Calendar 2024

Day 3

python: icecream.ic で Failed to access the underlying source code for analysis と出たときは

Posted at

背景

単に、微妙ーになんだこれ?ってなった際に調べた記録

いきなりこんなエラーでたら、なんだこれ?ってなりませんか?ってお話

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?

結論

実行直後にソース編集とかするとでちゃうので、再度実行すれば OK ってだけみたい

あとがき

実行時に即座に次の編集せずに、ちょっとは余裕を持ちましょう :laughing:

VS Code でエラー無ければ自動保存、って感じにしておけば、自ら CTRL+S で保存してこんなことにもなりにくい・・のかな? :thinking:

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?