pycharm 升级后报错

完整warning:

pywintypes.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp, sys, os

试了很多种方法都不管用,直到在GitHub上看到这么句话:(in otherwords, pywintypes.py is never called)

所以放心大胆地把提示路径下的pywintypes.py文件放入了垃圾桶

割以永治,终于不报错了。。。

你可能感兴趣的:(Crack-Pytorch,pytorch,人工智能,python,pycharm)