python重写父类方法

您所在的位置:网站首页 摩旅318多少天 python重写父类方法

python重写父类方法

#python重写父类方法| 来源: 网络整理| 查看: 265

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]



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3