{"blog_url":"https://randommemory.hatenablog.com/","author_name":"derwind","author_url":"https://blog.hatena.ne.jp/derwind/","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frandommemory.hatenablog.com%2Fentry%2F2015%2F06%2F07%2F162731\" title=\"python\u3067C\u8a00\u8a9e\u62e1\u5f35\u30e2\u30b8\u30e5\u30fc\u30eb - \u3089\u3093\u3060\u3080\u306a\u8a18\u61b6\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"python\u3067C\u8a00\u8a9e\u62e1\u5f35\u30e2\u30b8\u30e5\u30fc\u30eb","image_url":null,"type":"rich","url":"https://randommemory.hatenablog.com/entry/2015/06/07/162731","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","published":"2015-06-07 16:27:31","blog_title":"\u3089\u3093\u3060\u3080\u306a\u8a18\u61b6","version":"1.0","categories":["Python","C/C++"],"description":"\u3092\u4f5c\u308d\u3046\u304b\u306a\u3068\u3075\u3068\u601d\u3063\u305f\u3002 gg\u308b\u3068\u3001 #include \"Python.h\" \u3089\u3057\u3044\u3002\u306a\u308b\u307b\u3069\uff01 g++ -c main.cpp main.cpp:1:20: fatal error: Python.h: \u305d\u306e\u3088\u3046\u306a\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f\u3042\u308a\u307e\u305b\u3093 #include \"Python.h\" ^ \u60f3\u5b9a\u5185\uff01(\u309c\u2200 \u309c)gcc - fatal error: Python.h: No such file or directory - Stack Overflow\u3092\u53c2\u8003\u306b\u3001Ubuntu14.04LTS\u306b\u3066 $ sudo apt-get install python-dev \u3088\u3057\uff01\u307e\u3060\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u305e\uff01\u3055\u2026","width":"100%"}