[Python] dll 못찾는 오류 - pylibdmtx Could not find module 오류

제이브로·2025년 2월 12일
0

Python

목록 보기
22/23
post-thumbnail

1. python dll import 오류

FileNotFoundError: Could not find module 'c:\venv\Lib\site-packages\pylibdmtx\libdmtx-64.dll' (or one of its dependencies). Try using the full path with constructor syntax.

사건의 발단은, pylibdmtx 라이브러리를 설치하고, import 했는데, 분명 경로에 있는데 오류가 남. 환경은 windows

2. 해결방법

github_solution

pylibdtmx 깃허브에서 제시해준 방법으로 visual c++ 패키지 설치를 해줘야한다.

package

2.1 새로이 받자

분명 기존 visual C++ 패키지가 있어서 설치했었는데, 오류가 났었다.
따라서, 새로이 받아서 설치하니 설치가 되고, import 오류 없이 잘 작동한다.

  • 참고 : 설치할 때, 기존과 동일한 패키지 파일이면, 설치가 안되고 이미 설치되어 있다고 뜬다.

3. References

  1. pylibdmtx github
profile
기록하지 않으면 기록되지 않는다.

0개의 댓글