{"id":8203,"date":"2024-02-12T17:25:42","date_gmt":"2024-02-12T08:25:42","guid":{"rendered":"https:\/\/arakoki70.com\/?p=8203"},"modified":"2024-12-15T15:56:39","modified_gmt":"2024-12-15T06:56:39","slug":"ubuntu-22-04-%e3%81%a7-mysqlclient-%e3%81%8c%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84","status":"publish","type":"post","link":"https:\/\/arakoki70.com\/?p=8203","title":{"rendered":"Ubuntu 22.04 \u3067 mysqlclient \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044"},"content":{"rendered":"<div style=\"background: #f5f5f5; padding: 10px; border: 2px solid #800000; text-align: center; box-shadow: 5px 5px 5px #aaa; font-size: 16px;\"><span style=\"font-size: 14pt;\"><strong><span style=\"font-size: 12pt;\">Ubuntu Desktop 22.04 LTS \u30ce\u30a6\u30cf\u30a6<\/span><br \/>\r\nPython + MariaDB<br \/>\r\npip install mysqlclient \u3067\u30a8\u30e9\u30fc\u304c\u51fa\u308b<\/strong><\/span><\/div>\r\n<div>\u00a0<\/div>\r\n<div>Ubuntu 22.04 \u3067 Python \u3092\u4f7f\u3046\u6e96\u5099\u3092\u3057\u3066\u3044\u308b\u9014\u4e2d\u3001\u300cmysqlclient\u300d\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3002<\/div>\r\n<div style=\"border: 1px solid #4169e1; padding: 5px 10px 3px 10px; background: #f0f8ff; border-radius: 5px; position: relative; top: 0px;\"><strong>Getting requirements to build wheel ... error<br \/>\r\n<span style=\"color: #ff0000;\">error<\/span>: subprocess-exited-with-error<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div><a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/02\/python-env_0011.png\" data-rel=\"lightbox-gallery-Ghjaor4y\" data-rl_title=\"python-env_0011\" data-rl_caption=\"\" title=\"python-env_0011\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8204\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/02\/python-env_0011.png\" alt=\"Ubuntu 22.04 \u3067 Python \u3092\u4f7f\u3046\u6e96\u5099\u3092\u3057\u3066\u3044\u308b\u9014\u4e2d\u3001\u300cmysqlclient\u300d\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u308b\" width=\"800\" height=\"480\" \/><\/a><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u4ee5\u4e0b\u3001\u3053\u306e\u30a8\u30e9\u30fc\u3078\u306e\u5bfe\u5fdc\u7b56\u3092\u8a18\u9332\u3002<\/div>\r\n<div><!--more--><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\t<p>&nbsp;<\/p>\n\t<div align=\"center\" style=\"font-size:8pt;\">\u30b9\u30dd\u30f3\u30b5\u30fc \u30ea\u30f3\u30af<br \/>\n<!-- \t<script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script> -->\n\t<!-- \u8a18\u4e8b\u30fb\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6-7 -->\n\t<ins class=\"adsbygoogle\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-3816629014893825\"\n     data-ad-slot=\"1428770894\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n\t<script>\n\t(adsbygoogle = window.adsbygoogle || []).push({});\n\t<\/script>\n\t<amp-ad width=\"100vw\" height=\"320\"\n     type=\"adsense\"\n     data-ad-client=\"ca-pub-3816629014893825\"\n     data-ad-slot=\"1428770894\"\n     data-auto-format=\"rspv\"\n     data-full-width=\"\">\n\t <div overflow=\"\"><\/div>\n\t<\/amp-ad>\n\t<\/div>\n\t<p>&nbsp;<\/p>\n<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #c0c0c0; padding: 7px; background: #f5f5f5; border-radius: 8px; position: relative; top: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 16px;\">\r\n<div><strong><span style=\"font-size: 14pt;\">\u3000\u76ee\u3000\u6b21<\/span><\/strong><\/div>\r\n<div style=\"margin-left: 20pt; line-height: 200%;\"><span style=\"color: magenta;\">1.\u3000<\/span><a href=\"#title1\"><strong>Ubuntu 22.04 \u3067 Python \u3092\u4f7f\u3046\u6e96\u5099<\/strong><\/a><br \/>\r\n<span style=\"color: magenta;\">2.\u3000<\/span><a href=\"#title2\"><strong>pip install mysqlclient \u3067\u306e\u30a8\u30e9\u30fc\u3068\u89e3\u6c7a\u7b56<\/strong><\/a><br \/>\r\n<span style=\"color: magenta;\">3.\u3000<\/span><a href=\"#title3\"><strong>Ubuntu 22.04 \u3067 Python \u3092\u4f7f\u3046\u6e96\u5099\u3092\u7d9a\u3051\u308b<\/strong><\/a><\/div>\r\n<\/div>\r\n<div>\u00a0<\/div>\r\n<div id=\"title1\">\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #800000; padding: 5px 10px 3px 10px; background: #c5ff88;\"><strong>1. Ubuntu 22.04 \u3067 Python \u3092\u4f7f\u3046\u6e96\u5099<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div>Python \u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b9f\u884c\u3057\u306a\u304c\u3089\u3001\u5fc5\u8981\u306a\u74b0\u5883\u3092\u6574\u3048\u3066\u884c\u304f\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>Python \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3059\u308b\u3002\u3010<strong>3.10.12<\/strong>\u3011<\/div>\r\n<div style=\"border: 1px solid #4169e1; padding: 5px 10px 3px 10px; background: #f0f8ff; border-radius: 5px; position: relative; top: 0px;\"><strong>python3 --version<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div><a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/02\/python-env_0111.png\" data-rel=\"lightbox-gallery-Ghjaor4y\" data-rl_title=\"python-env_0111\" data-rl_caption=\"\" title=\"python-env_0111\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8205\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/02\/python-env_0111.png\" alt=\"Python \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3059\u308b\" width=\"800\" height=\"81\" \/><\/a><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u300c<strong>from flask import Flask, render_template, request<\/strong>\u300d\u306e\u305f\u3081\u306b\u3001\u300c<strong>flask<\/strong>\u300d\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5fc5\u8981\u3002<br \/>\r\n<a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/02\/python-env_0121.png\" data-rel=\"lightbox-gallery-Ghjaor4y\" data-rl_title=\"python-env_0121\" data-rl_caption=\"\" title=\"python-env_0121\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8206\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/02\/python-env_0121.png\" alt=\"\u300cfrom flask import Flask, render_template, request\u300d\u306e\u305f\u3081\u306b\u3001\u300cflask\u300d\u304c\u5fc5\u8981\" width=\"800\" height=\"233\" \/><\/a><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u300c<strong>flask<\/strong>\u300d\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/div>\r\n<div style=\"border: 1px solid #4169e1; padding: 5px 10px 3px 10px; background: #f0f8ff; border-radius: 5px; position: relative; top: 0px;\"><strong>sudo apt install python3-flask<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u300c<strong>flask<\/strong>\u300d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3002\u3010<strong>2.0.1<\/strong>\u3011<br \/>\r\n<a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/02\/python-env_0131.png\" data-rel=\"lightbox-gallery-Ghjaor4y\" data-rl_title=\"python-env_0131\" data-rl_caption=\"\" title=\"python-env_0131\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8207\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/02\/python-env_0131.png\" alt=\"\u300cflask\u300d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\" width=\"800\" height=\"113\" \/><\/a><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u300c<strong>import MySQLdb<\/strong>\u300d\u306e\u305f\u3081\u306b\u3001\u300c<strong>mysqlclient<\/strong>\u300d\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5fc5\u8981\u3002<br \/>\r\n<a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/02\/python-env_0141.png\" data-rel=\"lightbox-gallery-Ghjaor4y\" data-rl_title=\"python-env_0141\" data-rl_caption=\"\" title=\"python-env_0141\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8208\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/02\/python-env_0141.png\" alt=\"\u300cimport MySQLdb\u300d\u306e\u305f\u3081\u306b\u3001\u300cmysqlclient\u300d\u304c\u5fc5\u8981\" width=\"800\" height=\"145\" \/><\/a><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u300c<strong>pip install mysqlclient<\/strong>\u300d\u306e\u305f\u3081\u306b\u306f\u3001\u300c<strong>pip<\/strong>\u300d\u304c\u5fc5\u8981\u3002<br \/>\r\n<a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/02\/python-env_0151.png\" data-rel=\"lightbox-gallery-Ghjaor4y\" data-rl_title=\"python-env_0151\" data-rl_caption=\"\" title=\"python-env_0151\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8209\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/02\/python-env_0151.png\" alt=\"\u300cpip install mysqlclient\u300d\u306e\u305f\u3081\u306b\u306f\u3001\u300cpip\u300d\u304c\u5fc5\u8981\" width=\"800\" height=\"89\" \/><\/a><\/div>\r\n<div>\u00a0<\/div>\r\n<div>pip\u3092\u4f7f\u3046\u6e96\u5099\u3002<\/div>\r\n<div style=\"border: 1px solid #4169e1; padding: 5px 10px 3px 10px; background: #f0f8ff; border-radius: 5px; position: relative; top: 0px;\"><strong>sudo apt update<br \/>\r\nsudo apt install python3-pip<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u300c<strong>pip<\/strong>\u300d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3002\u3010<strong>22.0.2<\/strong>\u3011<br \/>\r\n<a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/02\/python-env_0161.png\" data-rel=\"lightbox-gallery-Ghjaor4y\" data-rl_title=\"python-env_0161\" data-rl_caption=\"\" title=\"python-env_0161\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8210\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/02\/python-env_0161.png\" alt=\"\u300cpip\u300d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3002\u301022.0.2\u3011\" width=\"800\" height=\"60\" \/><\/a><\/div>\r\n<div>\u00a0<\/div>\r\n<div id=\"title2\">\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #800000; padding: 5px 10px 3px 10px; background: #c5ff88;\"><strong>2. pip install mysqlclient \u3067\u306e\u30a8\u30e9\u30fc\u3068\u89e3\u6c7a\u7b56<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u6539\u3081\u3066\u3001\u300c<strong>mysqlclient<\/strong>\u300d\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3046\u3002<\/div>\r\n<div style=\"border: 1px solid #4169e1; padding: 5px 10px 3px 10px; background: #f0f8ff; border-radius: 5px; position: relative; top: 0px;\"><strong>pip install mysqlclient<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3002<\/div>\r\n<div style=\"border: 1px solid #800000; padding: 10px; background: #FFF0F5;\"><strong>Getting requirements to build wheel ... error<\/strong><br \/>\r\n<strong> error: subprocess-exited-with-error <\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u51fa\u529b\u3055\u308c\u305f\u30a8\u30e9\u30fc\u306e\u8a73\u7d30\u3002<br \/>\r\n<a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/02\/python-env_0211.png\" data-rel=\"lightbox-gallery-Ghjaor4y\" data-rl_title=\"python-env_0211\" data-rl_caption=\"\" title=\"python-env_0211\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8211\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/02\/python-env_0211.png\" alt=\"error: subprocess-exited-with-error\" width=\"600\" height=\"553\" \/><\/a><\/div>\r\n<div><a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/02\/python-env_0221.png\" data-rel=\"lightbox-gallery-Ghjaor4y\" data-rl_title=\"python-env_0221\" data-rl_caption=\"\" title=\"python-env_0221\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8212\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/02\/python-env_0221.png\" alt=\"error: subprocess-exited-with-error\" width=\"800\" height=\"737\" \/><\/a><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u6700\u521d\u306b\u53d6\u3063\u305f\u5bfe\u7b56\u3002<\/div>\r\n<div style=\"border: 1px solid #4169e1; padding: 5px 10px 3px 10px; background: #f0f8ff; border-radius: 5px; position: relative; top: 0px;\"><strong>sudo apt-get install default-libmysqlclient-dev build-essential<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u8ffd\u52a0\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3046\u3082\u3001\u72b6\u6cc1\u306b\u5909\u5316\u306f\u898b\u3089\u308c\u305a\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div><span style=\"color: #0000ff;\"><strong>\u89e3\u6c7a\u7b56<\/strong><\/span>\u3002<\/div>\r\n<div style=\"border: 1px solid #4169e1; padding: 5px 10px 3px 10px; background: #f0f8ff; border-radius: 5px; position: relative; top: 0px;\"><span style=\"color: #0000ff;\"><strong>sudo apt install pkg-config<\/strong><\/span><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u3053\u306e\u5f8c\u3001\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3046\u3068\u6210\u529f\u3059\u308b\u3002<\/div>\r\n<div style=\"border: 1px solid #4169e1; padding: 5px 10px 3px 10px; background: #f0f8ff; border-radius: 5px; position: relative; top: 0px;\"><strong>Successfully built mysqlclient<br \/>\r\nInstalling collected packages: mysqlclient<br \/>\r\nSuccessfully installed <span style=\"color: #ff0000;\">mysqlclient-2.1.1<\/span><\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div id=\"title3\">\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #800000; padding: 5px 10px 3px 10px; background: #c5ff88;\"><strong>3. Ubuntu 22.04 \u3067 Python \u3092\u4f7f\u3046\u6e96\u5099\u3092\u7d9a\u3051\u308b<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div>Python\u304b\u3089MySQL\u306b\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306b\u3001\u300cmysql-connector-python\u300d\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/div>\r\n<div style=\"border: 1px solid #4169e1; padding: 5px 10px 3px 10px; background: #f0f8ff; border-radius: 5px; position: relative; top: 0px;\"><strong>pip install mysql-connector-python<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<p>&nbsp;<\/p>\r\n<p style=\"text-align: right;\">\u4ee5\u4e0a\u3002<br \/>\r\n(2024.02.12)<\/p>\r\n<div style=\"clear: both;\">\u00a0<\/div>\r\n<div>\t<p>&nbsp;<\/p>\n\t<div align=\"center\" style=\"font-size:8pt;\">\u30b9\u30dd\u30f3\u30b5\u30fc \u30ea\u30f3\u30af<br \/>\n<!-- \t<script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script> -->\n\t<!-- \u8a18\u4e8b\u30fb\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6-7 -->\n\t<ins class=\"adsbygoogle\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-3816629014893825\"\n     data-ad-slot=\"1428770894\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n\t<script>\n\t(adsbygoogle = window.adsbygoogle || []).push({});\n\t<\/script>\n\t<amp-ad width=\"100vw\" height=\"320\"\n     type=\"adsense\"\n     data-ad-client=\"ca-pub-3816629014893825\"\n     data-ad-slot=\"1428770894\"\n     data-auto-format=\"rspv\"\n     data-full-width=\"\">\n\t <div overflow=\"\"><\/div>\n\t<\/amp-ad>\n\t<\/div>\n\n\t<p>&nbsp;<\/p>\n\n\t<p align=\"center\">\n\t<amp-social-share type=\"email\"><\/amp-social-share>\n\t&nbsp;<amp-social-share type=\"facebook\" data-param-app_id=\"131027923993169\"><\/amp-social-share>\n\t&nbsp;<amp-social-share type=\"linkedin\"><\/amp-social-share>\n\t&nbsp;<amp-social-share type=\"pinterest\"><\/amp-social-share>\n\t&nbsp;<amp-social-share type=\"tumblr\"><\/amp-social-share>\n\t&nbsp;<amp-social-share type=\"twitter\"><\/amp-social-share>\n\t&nbsp;<amp-social-share type=\"whatsapp\"><\/amp-social-share>\n\t&nbsp;<amp-social-share type=\"line\"><\/amp-social-share>\n\t<\/p>\n\n\t<p>&nbsp;<\/p>\n\t\n\t<!-- \u95a2\u9023\u30fb\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6 kanren-70 -->\n\t<div align=\"center\">\n\t\n\t<ins class=\"adsbygoogle\"\n     style=\"display:block\"\n     data-ad-format=\"autorelaxed\"\n     data-ad-client=\"ca-pub-3816629014893825\"\n     data-ad-slot=\"8839675487\"><\/ins>\n\t<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n\t<\/script>\n\t\n\t<amp-ad width=\"100vw\" height=\"320\"\n\t\ttype=\"adsense\"\n\t\tdata-ad-client=\"ca-pub-3816629014893825\"\n\t\tdata-ad-slot=\"8839675487\"\n\t\tdata-auto-format=\"mcrspv\"\n\t\tdata-full-width=\"\">\n\t\t<div overflow=\"\"><\/div>\n\t<\/amp-ad>\n\t\n\t<\/div>\n\t\n\t<div> <\/div>\n\n\t<p>&nbsp;<\/p>\n<\/div>\r\n<div>\u00a0<\/div>","protected":false},"excerpt":{"rendered":"Ubuntu Desktop 22.04 LTS \u30ce\u30a6\u30cf\u30a6 Python + MariaDB pip install mysqlclient \u3067\u30a8\u30e9\u30fc\u304c\u51fa\u308b \u00a0 Ubuntu 22.04 \u3067 Python \u3092\u4f7f\u3046\u6e96\u5099\u3092\u3057 &hellip; <p class=\"link-more\"><a href=\"https:\/\/arakoki70.com\/?p=8203\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Ubuntu 22.04 \u3067 mysqlclient \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>","protected":false},"author":1,"featured_media":8204,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[110],"tags":[],"class_list":["post-8203","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-02python"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Ubuntu 22.04 \u3067 mysqlclient \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044 - \u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/arakoki70.com\/?p=8203\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ubuntu 22.04 \u3067 mysqlclient \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044 - \u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c\" \/>\n<meta property=\"og:description\" content=\"Ubuntu Desktop 22.04 LTS \u30ce\u30a6\u30cf\u30a6 Python + MariaDB pip install mysqlclient \u3067\u30a8\u30e9\u30fc\u304c\u51fa\u308b \u00a0 Ubuntu 22.04 \u3067 Python \u3092\u4f7f\u3046\u6e96\u5099\u3092\u3057 &hellip; &quot;Ubuntu 22.04 \u3067 mysqlclient \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044&quot; \u306e\u7d9a\u304d\u3092\u8aad\u3080\" \/>\n<meta property=\"og:url\" content=\"https:\/\/arakoki70.com\/?p=8203\" \/>\n<meta property=\"og:site_name\" content=\"\u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-12T08:25:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-15T06:56:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/02\/python-env_0011.png\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"480\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"tacsan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hermione2207\" \/>\n<meta name=\"twitter:site\" content=\"@hermione2207\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"tacsan\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"6\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8203#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8203\"},\"author\":{\"name\":\"tacsan\",\"@id\":\"https:\\\/\\\/arakoki70.com\\\/#\\\/schema\\\/person\\\/d5fdbdb63e731d3f2d43880ccade4451\"},\"headline\":\"Ubuntu 22.04 \u3067 mysqlclient \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044\",\"datePublished\":\"2024-02-12T08:25:42+00:00\",\"dateModified\":\"2024-12-15T06:56:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8203\"},\"wordCount\":115,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/#\\\/schema\\\/person\\\/d5fdbdb63e731d3f2d43880ccade4451\"},\"image\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8203#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/arakoki70.com\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/python-env_0011.png\",\"articleSection\":[\"02 Python + MariaDB\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/arakoki70.com\\\/?p=8203#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8203\",\"url\":\"https:\\\/\\\/arakoki70.com\\\/?p=8203\",\"name\":\"Ubuntu 22.04 \u3067 mysqlclient \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044 - \u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8203#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8203#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/arakoki70.com\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/python-env_0011.png\",\"datePublished\":\"2024-02-12T08:25:42+00:00\",\"dateModified\":\"2024-12-15T06:56:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8203#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/arakoki70.com\\\/?p=8203\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8203#primaryimage\",\"url\":\"https:\\\/\\\/arakoki70.com\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/python-env_0011.png\",\"contentUrl\":\"https:\\\/\\\/arakoki70.com\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/python-env_0011.png\",\"width\":800,\"height\":480,\"caption\":\"Ubuntu 22.04 \u3067 Python \u3092\u4f7f\u3046\u6e96\u5099\u3092\u3057\u3066\u3044\u308b\u9014\u4e2d\u3001\u300cmysqlclient\u300d\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u308b\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8203#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/arakoki70.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ubuntu 22.04 \u3067 mysqlclient \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/arakoki70.com\\\/#website\",\"url\":\"https:\\\/\\\/arakoki70.com\\\/\",\"name\":\"\u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c\",\"description\":\"Around 70&#039;s \u30d6\u30ed\u30b0\u3078\u306e\u8a18\u4e8b\u6295\u7a3f\u304c\u751f\u6d3b\u76ee\u6a19\u306b \u30fb\u30fb\u30fb \u307e\u3060\u307e\u3060\u8f1d\u304f\",\"publisher\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/#\\\/schema\\\/person\\\/d5fdbdb63e731d3f2d43880ccade4451\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/arakoki70.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/arakoki70.com\\\/#\\\/schema\\\/person\\\/d5fdbdb63e731d3f2d43880ccade4451\",\"name\":\"tacsan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/arakoki70.com\\\/wp-content\\\/uploads\\\/2019\\\/12\\\/raspberry-toumei_4.png\",\"url\":\"https:\\\/\\\/arakoki70.com\\\/wp-content\\\/uploads\\\/2019\\\/12\\\/raspberry-toumei_4.png\",\"contentUrl\":\"https:\\\/\\\/arakoki70.com\\\/wp-content\\\/uploads\\\/2019\\\/12\\\/raspberry-toumei_4.png\",\"width\":80,\"height\":102,\"caption\":\"tacsan\"},\"logo\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/wp-content\\\/uploads\\\/2019\\\/12\\\/raspberry-toumei_4.png\"},\"sameAs\":[\"https:\\\/\\\/arakoki70.com\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Ubuntu 22.04 \u3067 mysqlclient \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044 - \u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/arakoki70.com\/?p=8203","og_locale":"ja_JP","og_type":"article","og_title":"Ubuntu 22.04 \u3067 mysqlclient \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044 - \u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c","og_description":"Ubuntu Desktop 22.04 LTS \u30ce\u30a6\u30cf\u30a6 Python + MariaDB pip install mysqlclient \u3067\u30a8\u30e9\u30fc\u304c\u51fa\u308b \u00a0 Ubuntu 22.04 \u3067 Python \u3092\u4f7f\u3046\u6e96\u5099\u3092\u3057 &hellip; \"Ubuntu 22.04 \u3067 mysqlclient \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044\" \u306e\u7d9a\u304d\u3092\u8aad\u3080","og_url":"https:\/\/arakoki70.com\/?p=8203","og_site_name":"\u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c","article_published_time":"2024-02-12T08:25:42+00:00","article_modified_time":"2024-12-15T06:56:39+00:00","og_image":[{"width":800,"height":480,"url":"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/02\/python-env_0011.png","type":"image\/png"}],"author":"tacsan","twitter_card":"summary_large_image","twitter_creator":"@hermione2207","twitter_site":"@hermione2207","twitter_misc":{"\u57f7\u7b46\u8005":"tacsan","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"6\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/arakoki70.com\/?p=8203#article","isPartOf":{"@id":"https:\/\/arakoki70.com\/?p=8203"},"author":{"name":"tacsan","@id":"https:\/\/arakoki70.com\/#\/schema\/person\/d5fdbdb63e731d3f2d43880ccade4451"},"headline":"Ubuntu 22.04 \u3067 mysqlclient \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044","datePublished":"2024-02-12T08:25:42+00:00","dateModified":"2024-12-15T06:56:39+00:00","mainEntityOfPage":{"@id":"https:\/\/arakoki70.com\/?p=8203"},"wordCount":115,"commentCount":0,"publisher":{"@id":"https:\/\/arakoki70.com\/#\/schema\/person\/d5fdbdb63e731d3f2d43880ccade4451"},"image":{"@id":"https:\/\/arakoki70.com\/?p=8203#primaryimage"},"thumbnailUrl":"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/02\/python-env_0011.png","articleSection":["02 Python + MariaDB"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/arakoki70.com\/?p=8203#respond"]}]},{"@type":"WebPage","@id":"https:\/\/arakoki70.com\/?p=8203","url":"https:\/\/arakoki70.com\/?p=8203","name":"Ubuntu 22.04 \u3067 mysqlclient \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044 - \u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c","isPartOf":{"@id":"https:\/\/arakoki70.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/arakoki70.com\/?p=8203#primaryimage"},"image":{"@id":"https:\/\/arakoki70.com\/?p=8203#primaryimage"},"thumbnailUrl":"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/02\/python-env_0011.png","datePublished":"2024-02-12T08:25:42+00:00","dateModified":"2024-12-15T06:56:39+00:00","breadcrumb":{"@id":"https:\/\/arakoki70.com\/?p=8203#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/arakoki70.com\/?p=8203"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/arakoki70.com\/?p=8203#primaryimage","url":"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/02\/python-env_0011.png","contentUrl":"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/02\/python-env_0011.png","width":800,"height":480,"caption":"Ubuntu 22.04 \u3067 Python \u3092\u4f7f\u3046\u6e96\u5099\u3092\u3057\u3066\u3044\u308b\u9014\u4e2d\u3001\u300cmysqlclient\u300d\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u308b"},{"@type":"BreadcrumbList","@id":"https:\/\/arakoki70.com\/?p=8203#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/arakoki70.com\/"},{"@type":"ListItem","position":2,"name":"Ubuntu 22.04 \u3067 mysqlclient \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044"}]},{"@type":"WebSite","@id":"https:\/\/arakoki70.com\/#website","url":"https:\/\/arakoki70.com\/","name":"\u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c","description":"Around 70&#039;s \u30d6\u30ed\u30b0\u3078\u306e\u8a18\u4e8b\u6295\u7a3f\u304c\u751f\u6d3b\u76ee\u6a19\u306b \u30fb\u30fb\u30fb \u307e\u3060\u307e\u3060\u8f1d\u304f","publisher":{"@id":"https:\/\/arakoki70.com\/#\/schema\/person\/d5fdbdb63e731d3f2d43880ccade4451"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/arakoki70.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":["Person","Organization"],"@id":"https:\/\/arakoki70.com\/#\/schema\/person\/d5fdbdb63e731d3f2d43880ccade4451","name":"tacsan","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/arakoki70.com\/wp-content\/uploads\/2019\/12\/raspberry-toumei_4.png","url":"https:\/\/arakoki70.com\/wp-content\/uploads\/2019\/12\/raspberry-toumei_4.png","contentUrl":"https:\/\/arakoki70.com\/wp-content\/uploads\/2019\/12\/raspberry-toumei_4.png","width":80,"height":102,"caption":"tacsan"},"logo":{"@id":"https:\/\/arakoki70.com\/wp-content\/uploads\/2019\/12\/raspberry-toumei_4.png"},"sameAs":["https:\/\/arakoki70.com\/"]}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/arakoki70.com\/index.php?rest_route=\/wp\/v2\/posts\/8203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arakoki70.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arakoki70.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arakoki70.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arakoki70.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8203"}],"version-history":[{"count":0,"href":"https:\/\/arakoki70.com\/index.php?rest_route=\/wp\/v2\/posts\/8203\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/arakoki70.com\/index.php?rest_route=\/wp\/v2\/media\/8204"}],"wp:attachment":[{"href":"https:\/\/arakoki70.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arakoki70.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arakoki70.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}