Pycharm各种问题

1. 报错如下

[Gensim] FileNotFoundError [Errno 2] No such file or directory: 'model/ch-corpus-3sg.bin'

解决方案:

https://stackoverflow.com/questions/26286206/python-ioerror-errno-2-no-such-file-or-directory-models-dictionary-dict

解释过来意思就是:

2. 关于处理“can’t find ‘main’ module in ”这个问题的详细处理方式!

https://blog.csdn.net/weixin_43164535/article/details/82557194

3. ‘main’ is not a package问题

ModuleNotFoundError: No module named '__main__.config'; '__main__' is not a package

4.安装docx模块出现Import Error: No module named 'exceptions’的解决方案

原文:
https://blog.csdn.net/jiangjieqazwsx/article/details/80326214

5. UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0xab in position 11126: illegal multibyte sequence

原文:
https://blog.csdn.net/shijing_0214/article/details/51971734

6. pytorch报错UserWarning: invalid index of a 0-dim tensor.

解决方案:

将loss.data[0] 改为loss.item()
原文:
https://blog.csdn.net/LYKXHTP/article/details/81565453

你可能感兴趣的:(Pycharm各种问题)