Problem Solving/문제해결
numpy/arrayobject.h': No such file or directory 에러 발생 시 해결 방법
Python py 파일을 Cython으로 cythonize을 하려고 build를 하니 c 확장자 파일은 만들어 졌는데, pyd 파일은 만들어지지 않으면서 numpy/arrayobject.h No such file of directory 에러가 발생했다. fatal error C1083: 포함 파일을 열 수 없습니다. 'numpy/arrayobject.h': No such file or directory 이 문제는 numpy에 대한 경로를 잡아주면 된다고 나왔는데, 경로를 잡아줘도 해결이 되지 않아 setup을 할 때 numpy를 import 할 때 그 경로를 선언해줬다. setup.py from setuptools import setup from Cython.Build import cythonize im..
2024. 1. 25.
최근댓글