python 查看PIL包下的 Image.py 模块时 import _builtin__显示 python version 3.6 does not have module __builtin__
生活随笔
收集整理的這篇文章主要介紹了
python 查看PIL包下的 Image.py 模块时 import _builtin__显示 python version 3.6 does not have module __builtin__
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
在 Image.py 代碼中它用了try_except,是為了避免python版本錯誤而設置的,__builtin__是python3內置的,__builtins__是python2內置的,所以這個報紅無需理會。
參考文章:Python3中的__builtin__模塊在哪里?為什么要重命名?
總結
以上是生活随笔為你收集整理的python 查看PIL包下的 Image.py 模块时 import _builtin__显示 python version 3.6 does not have module __builtin__的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: pycharm 如何搜索?Ctrl+N
- 下一篇: Intel Realsense C/C+