打开安装目录包下的
D:\Anaconda3\Lib\site-packages\IPython\utils\io.py
将其中
devnull = open(os.devnull, ‘w’)
的代码行修改为:
devnull = open(‘null’, ‘w’)
即可解决
参考博客:https://blog.csdn.net/weixin_42641361/article/details/84575430
打开安装目录包下的
D:\Anaconda3\Lib\site-packages\IPython\utils\io.py
将其中
devnull = open(os.devnull, ‘w’)
的代码行修改为:
devnull = open(‘null’, ‘w’)
即可解决
参考博客:https://blog.csdn.net/weixin_42641361/article/details/84575430