TypeError: 'module' object is not callable
pip更新后出现这个TypeError: ‘module’ object is not callable这个情况
我慌了,连导包都显示TypeError: ‘module’ object is not callable
pip和import相继失效,我删除了旧版本,用新版本覆盖旧版本,好像还是没有用。
解决办法
不敢更新了,我怕还是出事,等网上有确定的版本我再更吧,这个问题我已经解决了快两小时了,包括用easy_install导包方法,删除库等等。试了百度了很多解决办法,这个问题都是在这次pip更新后出现的,百度很没有很多解决的办法,很多方法都不可靠。
当然,pip失效,我们还可以在IDE的settings中手动下载第三方库