2022. 4. 20. 22:04ㆍTrouble shooting
환경 파이썬python 3.7.9 / torch 1.6+cpu
예전 기기에 사용하던 그대로 라이브러리를 설치했는데
테스트를 위해 돌려본 파일이 저런 오류를 리턴했다.
"C:\Users\{사용자}\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\__init__.py", 라인 127, in <module>
raise err
OSError: [WinError 126] 지정된 모듈을 찾을 수 없습니다. Error loading "C:\Users\king2\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\lib\caffe2_detectron_ops.dll" or one of its dependencies.
해결 :
Error in training opennmt - caffe2_detectron_ops.dll not found
I have torch 1.6 and python 3.8. When training OpenNMT, it throws the following error - OSError: [WinError 126] The specified module could not be found. Error loading "C:\Users\Girish\AppData\...
stackoverflow.com
Just deleting "caffe2_detectron_ops.dll" from the path
그대로 삭제하니까 문제없이 실행되었는데, 이게 근본적인 해결책은 아닌거같다.
해결방법이나 caffe2_detectron_ops 와 관한 오류가 발생하면 추가적으로 작성.
'Trouble shooting' 카테고리의 다른 글
pandas) Output exceeds the size limit. Open the full output data in a text editor (0) | 2022.06.17 |
---|---|
pandas.read_excel 오류 (0) | 2022.06.08 |
vscode 확장 python 설치 오류 (0) | 2022.04.19 |
sort() 가 왜 안댐?? (0) | 2022.03.12 |
VS Code : Server for WSL closed unexpectedly (0) | 2022.02.23 |