pyconfig.h no such file
故渊m:
您好,我的路径没有错,但还是报这个错
[code=python]
In file included from /usr/include/python3.6m/Python.h:8:0,
from /home/pxg/Net/venv/lib/python3.6/site-packages/torch/include/torch/csrc/python_headers.h:9,
from /home/pxg/Net/venv/lib/python3.6/site-packages/torch/include/torch/csrc/Device.h:3,
from /home/pxg/Net/venv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/python.h:8,
from /home/pxg/Net/venv/lib/python3.6/site-packages/torch/include/torch/extension.h:6,
from /home/pxg/Net/DANet/encoding/lib/cpu/nms_cpu.cpp:1:
/usr/include/python3.6m/pyconfig.h:3:12: fatal error: x86_64-linux-gnu/python3.6m/pyconfig.h: No such file or directory
# include
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
[/code]
|