当前位置:网站首页>Record in-depth learning - some bug handling

Record in-depth learning - some bug handling

2022-07-05 13:22:00 Tight enough to get fat

1.ModuleNotFoundError: No module named ‘torchsummary’

Import torchsummary Report errors

ModuleNotFoundError: No module named 'torchsummary'

Handle

 Insert picture description here

2.ValueError: invalid mode: ‘config.json’

Wrong reading in the morning and afternoon , Basically, change the path to normal with open Expression can be

3.ModuleNotFoundError: No module named ‘pytest’

By inquiring , It is said on the Internet that there is one with the same name test**.py Documents, etc. , I found no , The final inspection found that , stay pytorch_gpu Not in the environment pytest, Last
pip install pytest solve

4.ModuleNotFoundError: No module named ‘librosa’

Learn from the previous lessons , direct pip

5.ModuleNotFoundError: No module named ‘xlrd’

pip !!!

6.ImportError: Missing optional dependency ‘openpyxl’. Use pip or conda to install openpyxl.

pip install openpyxl
原网站

版权声明
本文为[Tight enough to get fat]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/186/202207051317335874.html