{"id":575,"date":"2019-07-17T01:40:00","date_gmt":"2019-07-16T16:40:00","guid":{"rendered":"https:\/\/dalomo.net\/blog\/?p=575"},"modified":"2019-07-17T01:48:10","modified_gmt":"2019-07-16T16:48:10","slug":"raspberry-pi-zero-wh%e3%81%a7%e4%bd%9c%e3%81%a3%e3%81%9f%e5%ae%9a%e7%82%b9%e3%82%ab%e3%83%a1%e3%83%a9%e3%82%92%e6%94%b9%e8%89%af%e3%81%97%e3%81%9f%e3%81%84%e2%91%a1%e7%94%bb%e5%83%8f%e3%81%ab%e6%97%a5","status":"publish","type":"post","link":"https:\/\/dalomo.net\/blog\/2019\/07\/17\/575\/","title":{"rendered":"Raspberry Pi Zero WH\u3067\u4f5c\u3063\u305f\u5b9a\u70b9\u30ab\u30e1\u30e9\u3092\u6539\u826f\u3057\u305f\u3044\u2461\u753b\u50cf\u306b\u65e5\u4ed8\u3092\u4ed8\u3051\u308b"},"content":{"rendered":"<p>\u8a18\u4e8b\u304c\u30af\u30bd\u9577\u304f\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u306e\u3067\u5206\u3051\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<h1>\u753b\u50cf\u306b\u65e5\u4ed8\u3092\u4ed8\u3051\u308b<\/h1>\n<p>\u8abf\u3079\u3066\u307f\u305f\u3089exif\u3092\u4f7f\u3046\u3084\u3064\u304c\u591a\u3044\u307f\u305f\u3044\u3002\u305d\u3093\u306a\u53b3\u5bc6\u3067\u306a\u304f\u3066\u3082\u3044\u3044\u3093\u3060\u3088\u306a\u2026\u3002Python\u306b\u306f\u753b\u50cf\u51e6\u7406\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u3057\u3066\u3001Pillow, NumPy, OpenCV\u3068\u7a2e\u985e\u304c\u3042\u308b\u307f\u305f\u3044\u3002\u3084\u308a\u305f\u3044\u306e\u306f\u753b\u50cf\u306b\u6587\u5b57\u3092\u3064\u3051\u308b\u3060\u3051\u306a\u306e\u3067\u3001Pillow\u3060\u3051\u3067\u3044\u3044\u3093\u304b\u306a?<\/p>\n<h2>Pillow\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<pre class=\"shell\">$ pip install Pillow<\/pre>\n<p>\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306a\u3093\u3060\u3051\u3069\u3001\u30a8\u30e9\u30fc\u3067\u3061\u3083\u3093\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044\u3002\u6700\u5f8c\u306bMemoryError\u3068\u51fa\u3066\u305f\u306e\u3067<\/p>\n<pre><span class=\"nv\">$ <\/span><span class=\"nb\">sudo nano<\/span> \/etc\/dphys-swapfile<\/pre>\n<p>\u3067\u3001<\/p>\n<pre><span class=\"nv\">CONF_SWAPSIZE<\/span><span class=\"o\">=<\/span>2048<\/pre>\n<p>\u3053\u3046\u3002\u3067\u3082\u307e\u3060\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3002<\/p>\n<blockquote><p>Failed building wheel for Pillow<\/p><\/blockquote>\n<p>\u306e<\/p>\n<blockquote><p>The headers or library files could not be found for jpeg,<br \/>\na required dependency when compiling Pillow from source.<\/p>\n<p>Please see the install instructions at:<br \/>\n<a href=\"https:\/\/pillow.readthedocs.io\/en\/latest\/installation.html\">https:\/\/pillow.readthedocs.io\/en\/latest\/installation.html<\/a><\/p><\/blockquote>\n<p>\u306a\u306e\u3067<\/p>\n<pre class=\"shell\">$ sudo apt-get install libjpeg-dev<\/pre>\n<p>\u3053\u3046\u3002\u3093\u3067\u3082\u3063\u304b\u3044\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<blockquote><p>$ pip install Pillow<br \/>\nCollecting Pillow<br \/>\nUsing cached https:\/\/files.pythonhosted.org\/packages\/51\/fe\/18125dc680720e4c308<br \/>\nBuilding wheels for collected packages: Pillow<br \/>\nRunning setup.py bdist_wheel for Pillow &#8230; &#8211;<br \/>\ndone<br \/>\nStored in directory: \/home\/pi\/.cache\/pip\/wheels\/f6\/4e\/42\/5f6c85a93dd4555e47c982a2b1e4405ad056ce255800130552<br \/>\nSuccessfully built Pillow<br \/>\nInstalling collected packages: Pillow<br \/>\nSuccessfully installed Pillow-6.1.0<\/p><\/blockquote>\n<p>\u3044\u3047\u3044\u3002\u3053\u3093\u306a\u3093\u81ea\u5206\u3067\u8abf\u3079\u3066\u89e3\u6c7a\u3057\u308c\u3063\u3066\u8a00\u308f\u308c\u3066\u3082\u7121\u7406\u3060\u308f\u30fc\u3002\u5148\u4eba\u6700\u9ad8!\u3042\u308a\u304c\u3068\u3046\u5148\u4eba!!<\/p>\n<h2>\u30d5\u30a9\u30f3\u30c8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>\u6587\u5b57\u3092\u633f\u5165\u3059\u308b\u306e\u306b\u30d5\u30a9\u30f3\u30c8\u304c\u5fc5\u8981\u3068\u306e\u3053\u3068\u306a\u306e\u3067\u3001\/usr\/share\/fonts\u3092\u63a2\u3057\u306b\u884c\u3063\u305f\u3068\u3053\u308d\u3001\u305d\u3082\u305d\u3082\u30d5\u30a9\u30eb\u30c0\u304c\u306a\u304b\u3063\u305f\u3002Lite\u3063\u3066\u305d\u3046\u306a\u306e\u304b\u3002\u306a\u3093\u304b\u3044\u3044\u611f\u3058\u306e\u30d5\u30a9\u30f3\u30c8\u306a\u3044\u304b\u306a\u30fc\u3068\u63a2\u3057\u3066\u307f\u308b\u30687\u30bb\u30b0\u3092\u518d\u73fe\u3057\u305f\u30d5\u30a9\u30f3\u30c8\u3092\u898b\u3064\u3051\u305f\u3002<\/p>\n<p><a href=\"https:\/\/www.keshikan.net\/fonts.html\">https:\/\/www.keshikan.net\/fonts.html<\/a><\/p>\n<p>\u3053\u308c\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066nas\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u5165\u308c\u3068\u304f\u3002<\/p>\n<h2>\u753b\u50cf\u3092\u8aad\u307f\u8fbc\u3093\u3067\u65e5\u4ed8\u5165\u308c\u3066\u4fdd\u5b58<\/h2>\n<pre class=\"python\">with picamera.PiCamera() as camera:\r\n    sleep(5)\r\n    camera.hflip = True\r\n    camera.vflip = True\r\n    camera.capture(dir_path+file_name+'.jpg')\r\n\r\nimg = Image.open(dir_path+file_name+'.jpg')\r\nnow = datetime.datetime.now()\r\ntext = now.strftime('%Y-%m-%d %H:%M')\r\ndraw = ImageDraw.Draw(img)\r\nfont = ImageFont.truetype('\/home\/pi\/nas\/DSEG7Classic-Bold.ttf', 15)\r\ndraw.text((5, 5), text, font=font, fill=(255,255,255))\r\nimg.save(dir_path+file_name+'.jpg')<\/pre>\n<p>camera.capture()\u3067\u3001\u753b\u50cf\u304c\u4fdd\u5b58\u3055\u308c\u308b\u306e\u3067\u3001\u307e\u305a\u306f\u4fdd\u5b58\u3055\u308c\u305f\u753b\u50cf\u3092Image.open\u3067\u8aad\u307f\u8fbc\u3080\u3002datetime.datetime.now()\u3067\u73fe\u5728\u306e\u65e5\u4ed8\u6642\u523b\u3092\u53d6\u5f97\u3002.strftime(&#8216;%Y-%m-%d %H:%M&#8217;)\u3067\u8868\u793a\u3059\u308b\u5f62\u5f0f\u306b\u578b\u5909\u63db\u3002ImageDraw.Draw()\u3067\u3001\u66f8\u304d\u8fbc\u3080\u5f62\u5f0f\u306b\u3059\u308b\u307f\u305f\u3044\u306a\u611f\u3058\u3089\u3057\u3044\u3002\u63cf\u753b\u3059\u308b\u5834\u5408\u3053\u306e\u5f62\u5f0f\u306b\u3059\u308b\u3082\u3093\u307f\u305f\u3044\u3002ImageFont.truetype()\u3067\u4f7f\u7528\u3059\u308b\u30d5\u30a9\u30f3\u30c8\u3092\u8aad\u307f\u8fbc\u3080\u3002\u5927\u304d\u3055\u306f\u76f8\u5bfe\u6307\u5b9a\u3057\u305f\u304b\u3063\u305f\u3051\u3069\u3001\u3068\u308a\u3042\u3048\u305a\u7d76\u5bfe\u6307\u5b9a\u3067\u3002draw.text()\u3067\u59cb\u70b9\u3092\u6307\u5b9a\u3001\u4eca\u56de\u306f\u5de6\u4e0a\u306b\u3057\u305f\u3002\u53f3\u4e0b\u3060\u3068\u8a08\u7b97\u304c\u3081\u3093\u3069\u3044\u3002font\u304c\u30d5\u30a9\u30f3\u30c8\u3001fill\u304c\u8272\u3002img.save()\u3067\u958b\u3044\u305f\u30d5\u30a1\u30a4\u30eb\u3068\u540c\u3058\u540d\u524d\u3067\u4fdd\u5b58\u3002\u4e0a\u66f8\u304d\u4fdd\u5b58\u3055\u308c\u308b\u3002\u3093\u3067\u3001<\/p>\n<pre class=\"shell\">$ python \/home\/pi\/nas\/shutter.py<\/pre>\n<p>\u3059\u308b\u3068\u2026<\/p>\n<p><a href=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/00000.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-563\" src=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/00000-300x200.jpg\" alt=\"\" width=\"300\" height=\"200\" srcset=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/00000-300x200.jpg 300w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/00000.jpg 720w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u3064\u3044\u305f!!<\/p>\n<h3>\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u306f\u52d5\u304f\u3051\u3069\u3001cron\u3060\u3068\u52d5\u304b\u306a\u3044<\/h3>\n<p>\u203b\u5206\u304b\u3063\u3066\u3084\u3063\u3066\u308b\u98a8\u306b\u66f8\u3044\u3066\u308b\u3051\u3069\u3001\u8abf\u3079\u3064\u3064\u3084\u3063\u3066\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u753b\u50cf\u6e9c\u3081\u3066\u304b\u3089ffmpeg\u3084\u3063\u3066\u3053\u30fc\u3068\u601d\u3044\u3001sudo crontab -e\u3067<\/p>\n<pre class=\"shell\">0-59\/10 * * * * python \/home\/pi\/nas\/shutter.py<\/pre>\n<p>\u3068\u3084\u3063\u305f\u3002\u3067\u3082\u753b\u50cf\u304c\u6e9c\u307e\u3063\u3066\u3044\u304b\u306a\u3044\u2026\u3001\u306a\u3093\u3067\u3084!\u3053\u3046\u3044\u3046\u6642\u3053\u305d\u30ed\u30b0\u3092\u898b\u308c\u3070\u3044\u3044\u3093\u3060\u306a\u3001\u3068\u601d\u3044\u3001\/var\/log\/cron.log\u3092\u898b\u306b\u884c\u3063\u305f\u3068\u3053\u308d\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u7121\u3044\u3002\u306a\u3093\u3067\u3084!\u3069\u3046\u3084\u3089\u6a19\u6e96\u3067\u306f\u30ed\u30b0\u53d6\u3089\u306a\u3044\u3088\u3046\u306b\u306a\u3063\u3066\u308b\u6a21\u69d8\u3002\u3068\u3044\u3046\u3053\u3068\u3067<\/p>\n<pre class=\"shell\">$\u00a0sudo\u00a0nano\u00a0\/etc\/rsyslog.conf<\/pre>\n<pre class=\"shell\">#cron.*             \/var\/log\/cron.log<\/pre>\n<p>\u3067\u3001cron\u306e\u90e8\u5206\u304c\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3055\u308c\u3066\u308b\u306e\u3092\u623b\u3059\u3002(#\u3092\u53d6\u308b)<\/p>\n<pre class=\"shell\">$ sudo \/etc\/init.d\/rsyslog restart<\/pre>\n<p>\u30b5\u30fc\u30d3\u30b9\u3092\u518d\u8d77\u52d5\u3057\u3066\u53cd\u6620\u3055\u305b\u308b\u3002<\/p>\n<pre class=\"shell\">$ sudo nano \/etc\/default\/cron<\/pre>\n<pre class=\"shell\">EXTRA_OPTS='-L 5'<\/pre>\n<p>#\u3092\u5916\u3057\u3066\u3001\u30ed\u30b0\u30ec\u30d9\u30eb\u3092\u5909\u66f4\u3059\u308b\u3002&#8217;-L 5&#8217;\u306b\u3057\u305f\u3002<\/p>\n<pre class=\"shell\">$ sudo \/etc\/init.d\/cron restart<\/pre>\n<p>cron\u3082\u518d\u8d77\u52d5\u3059\u308b\u3002\u305d\u3046\u3059\u308b\u3068\u3001\u6642\u9593\u304c\u6765\u308b\u3068\/var\/log\/cron.log\u304c\u4f5c\u6210\u3055\u308c\u3066\u3001\u30ed\u30b0\u304c\u8a18\u9332\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002\u4e2d\u8eab\u3092\u898b\u3066\u307f\u308b\u3068<\/p>\n<blockquote><p>Jul 15 21:10:01 raspberrypi-pierce CRON[1173]: (root) CMD (python \/home\/pi\/nas\/shutter.py)<br \/>\nJul 15 21:10:02 raspberrypi-pierce CRON[1169]: (CRON) error (grandchild #1173 failed with exit status 1)<\/p><\/blockquote>\n<p>\u3066\u306a\u3063\u3066\u305f\u3002\u78ba\u304b\u306b\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u308b\u3002\u305f\u3060\u3053\u308c\u3060\u3051\u3060\u3068\u610f\u5473\u304c\u5206\u304b\u3089\u3093\u3002\u3068\u308a\u3042\u3048\u305a\u300cgrandchild #1173 failed with exit status 1\u300d\u3067\u30b0\u30b0\u3063\u3066\u307f\u305f\u3089\u3001\u3084\u3063\u3071\u308a\u3053\u308c\u3060\u3051\u3060\u3068cron\u306e\u5b9f\u884c\u7d50\u679c\u3060\u3051\u3067\u3001\u5185\u5bb9\u306f\u5206\u304b\u3093\u306a\u3044\u307f\u305f\u3044\u3002\u305f\u3060python\u306e\u5b9f\u884c\u30a8\u30e9\u30fc\u3063\u307d\u3044\u3089\u3057\u3044\u3002\u3067\u3001python\u306e\u30ed\u30b0\u3092\u51fa\u529b\u3059\u308b\u305f\u3081\u306bsudo crontab -e\u306e\u5185\u5bb9\u3092<\/p>\n<pre class=\"shell\">0-59\/10 * * * * python \/home\/pi\/nas\/shutter.py &gt;&gt; \/tmp\/test.log 2&gt;&amp;1<\/pre>\n<p>\u3068\u3059\u308b\u3002\u3053\u306e\u66f8\u304d\u65b9\u3060\u3068\u3001\u6a19\u6e96\u51fa\u529b\u3068\u30a8\u30e9\u30fc\u51fa\u529b\u304c\u4e00\u7dd2\u306b\u51fa\u308b\u305d\u3046\u3002\u3067\u5b9f\u884c\u3055\u308c\u308b\u306e\u3092\u5f85\u3063\u3066\/tmp\/test.log\u3092\u898b\u3066\u307f\u308b\u3068<\/p>\n<blockquote><p>Traceback (most recent call last):<br \/>\nFile &#8220;\/home\/pi\/nas\/shutter.py&#8221;, line 5, in &lt;module&gt;<br \/>\nfrom PIL import Image, ImageFont, ImageDraw<br \/>\nImportError: No module named PIL<\/p><\/blockquote>\n<p>PIL\u304cimport\u3067\u304d\u3066\u306a\u3044\u3001\u3068\u3044\u3046\u3053\u3068\u307f\u305f\u3044\u3002\u30bf\u30fc\u30df\u30ca\u30eb\u3060\u3068\u3061\u3083\u3093\u3068\u52d5\u304f\u306e\u306b\u306a\u3093\u3067?\u3068\u3044\u3046\u3053\u3068\u3067\u300cImportError: No module named PIL\u300d\u3067\u30b0\u30b0\u308b\u3002\u3068\u308a\u3042\u3048\u305a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u308b\u304b\u78ba\u8a8d<\/p>\n<pre class=\"shell\">$ pip list\r\ncryptography (1.7.1)\r\ndnspython (1.15.0)\r\nenum34 (1.1.6)\r\nidna (2.2)\r\nipaddress (1.0.17)\r\nkeyring (10.1)\r\nkeyrings.alt (1.3)\r\nnumpy (1.12.1)\r\npicamera (1.13)\r\nPillow (6.1.0)  #\u3053\u308c\u306e\u306f\u305a\u3002PIL\u306e\u5f8c\u7d99\u3063\u3066\u3053\u3068\u3060\u3057\u3002\r\npip (9.0.1)\r\npyasn1 (0.1.9)\r\npycrypto (2.6.1)\r\npygobject (3.22.0)\r\npyxdg (0.25)\r\nRPi.GPIO (0.6.5)\r\nSecretStorage (2.3.1)\r\nsetuptools (33.1.1)\r\nsix (1.12.0)\r\nwheel (0.29.0)<\/pre>\n<p>\u5165\u3063\u3066\u308b\u3088\u2026?\u95a2\u4fc2\u306a\u3044\u3051\u3069python2.7\u3063\u30662020.01.01\u3067\u7d42\u308f\u308b\u3093\u3060\u3063\u3066\u3002<\/p>\n<blockquote><p>DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won&#8217;t be maintained after that date. A future version of pip will drop support for Python 2.7.<\/p>\n<p>\u5ec3\u6b62\u4e88\u5b9a\uff1aPython 2.7\u306f\u30012020\u5e741\u67081\u65e5\u306b\u305d\u306e\u5bff\u547d\u304c\u5c3d\u304d\u307e\u3059\u3002Python2.7\u306f\u305d\u306e\u65e5\u4ee5\u964d\u4fdd\u5b88\u3055\u308c\u306a\u3044\u305f\u3081\u3001Python\u3092\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002 pip\u306e\u5c06\u6765\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306fPython 2.7\u306e\u30b5\u30dd\u30fc\u30c8\u3092\u3084\u3081\u308b\u3067\u3057\u3087\u3046\u3002<\/p><\/blockquote>\n<p>\u3082\u3046\u3061\u3087\u3063\u3068\u8abf\u3079\u308b\u3068\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u3068cron\u3060\u3068\u3001\u74b0\u5883\u5909\u6570\u304c\u9055\u3046\u307f\u305f\u3044\u3002cron\u306e\u5834\u5408python\u304c\u3069\u3053\u306b\u3042\u308b\u304b\u5206\u304b\u3089\u306a\u304f\u3066\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3002\u307f\u305f\u3044\u306a\u3002\u8a66\u3057\u3066\u307f\u308b\u3002<\/p>\n<pre class=\"shell\">$ which python\r\n\/usr\/bin\/python<\/pre>\n<pre class=\"shell\">#cron\u306b\u8ffd\u8a18\r\n0-59\/10 * * * * which python &gt; \/tmp\/path.txt\r\n#\/tmp\/path.txt\u306e\u4e2d\u8eab\r\n\/usr\/bin\/python<\/pre>\n<p>\u540c\u3058\u3060\u306a\u3041\u2026\u3002\u3067\u3082\u4e00\u5fdc\u30d1\u30b9\u3092\u901a\u3057\u3066\u307f\u308b\u3002<\/p>\n<pre class=\"shell\">$ echo ${PATH}<\/pre>\n<p>\u3067\u8abf\u3079\u308b\u3068<\/p>\n<pre class=\"shell\">\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin:\/usr\/local\/games:\/usr\/games<\/pre>\n<p>\u3068\u8fd4\u3063\u305f\u306e\u3067\u3001\u307e\u3093\u307ecrontab\u306b<\/p>\n<pre class=\"shell\">PATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin:\/usr\/local\/games:\/usr\/games<\/pre>\n<p>\u3068\u8ffd\u8a18\u3002\u3067\u3082\u3001\u3058\u3063\u3068\u5f85\u3063\u3066\u307f\u305f\u3051\u3069\u5909\u5316\u306a\u3057\u3002\u4eca\u5ea6\u306fcrontab\u306bpython\u3092\u30d5\u30eb\u30d1\u30b9\u3067\u66f8\u3044\u3066\u307f\u308b\u3002<\/p>\n<pre class=\"shell\">0-59\/3 * * * * \/usr\/bin\/python \/home\/pi\/nas\/shutter.py &gt;&gt; \/tmp\/test.log 2&gt;&amp;1<\/pre>\n<p>\u2026\u3053\u308c\u3082\u5909\u5316\u306a\u3057\u3002\u3061\u3087\u3063\u3068\u3001\u30b0\u30b0\u308a\u30d1\u30bf\u30fc\u30f3\u304c\u5c3d\u304d\u3066\u304d\u305f\u3002\u3002\u3002\u305d\u3082\u305d\u3082python\u81ea\u4f53\u306f\u8d77\u52d5\u3067\u304d\u3066\u308b\u306e\u3067\u3001cron\u3058\u3083\u306a\u304f\u3066python\u306e\u554f\u984c\u306a\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u3002\u3067\u3001import\u30a8\u30e9\u30fc\u306b\u7d5e\u3063\u3066\u691c\u7d22\u3057\u3066\u307f\u308b\u3068\u3001\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u95a2\u3059\u308b\u8a18\u4e8b\u3092\u898b\u3064\u3051\u305f\u3002<\/p>\n<pre class=\"shell\">$ pip show pillow<\/pre>\n<p>\u304c<\/p>\n<pre>Name: Pillow\r\nVersion: 6.1.0\r\nSummary: Python Imaging Library (Fork)\r\nHome-page: http:\/\/python-pillow.org\r\nAuthor: Alex Clark (Fork Author)\r\nAuthor-email: aclark@aclark.net\r\nLicense: UNKNOWN\r\nLocation: \/home\/pi\/.local\/lib\/python2.7\/site-packages\r\nRequires:\r\nRequired-by:<\/pre>\n<p>\u3053\u3053\u3067\u898b\u308b\u306e\u304cLocation\u306e\u3068\u3053\u3002pillow\u306f\/home\/pi\/.local\/lib\/python2.7\/site-packages\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3002\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u308b\u3068\u3053\u306e\u30d1\u30b9\u304c\u901a\u3063\u3066\u306a\u3044\u5834\u5408\u304c\u3042\u308b\u3089\u3057\u3044\u306e\u3067\u3001\u307e\u305a\u306f<\/p>\n<pre class=\"python\">import sys\r\nprint(sys.path)<\/pre>\n<p>\u3066\u3044\u3046\u5185\u5bb9\u306epysys.py\u3092\/home\/pi\/nas\/\u306b\u4f5c\u308a<\/p>\n<pre>$ python pysys.py<\/pre>\n<p>\u3059\u308b\u3068<\/p>\n<pre>['\/home\/pi\/nas', '\/usr\/lib\/python2.7', '\/usr\/lib\/python2.7\/plat-arm-linux-gnueabihf', '\/usr\/lib\/python2.7\/lib-tk', '\/usr\/lib\/python2.7\/lib-old', '\/usr\/lib\/python2.7\/lib-dynload', '\/home\/pi\/.local\/lib\/python2.7\/site-packages', '\/usr\/local\/lib\/python2.7\/dist-packages', '\/usr\/lib\/python2.7\/dist-packages']<\/pre>\n<p>&#8216;\/home\/pi\/.local\/lib\/python2.7\/site-packages&#8217;\u304c\u3042\u308b\u306e\u3067\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u4e0a\u3067\u5b9f\u884c\u3057\u305f\u5834\u5408\u3001python\u306f\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u5834\u6240\u3092\u5206\u304b\u3063\u3066\u308b\u3063\u3066\u3053\u3068\u306a\u3093\u3060\u3068\u601d\u3046\u3002\u3067\u306fcron\u3067\u306f\u3069\u3046\u304b\u3002crontab\u306b<\/p>\n<pre>0-59\/3 * * * * python \/home\/pi\/nas\/pysys.py &gt;&gt; \/tmp\/test.log 2&gt;&amp;1<\/pre>\n<p>\u3068\u8ffd\u8a18\u3002\u30ab\u30c3\u30d7\u9eba\u3092\u4f5c\u308a\u3064\u3064\u5f85\u3063\u3066\u3001\/tmp\/test.log\u3092\u898b\u3066\u307f\u308b\u3068<\/p>\n<pre>['\/home\/pi\/nas', '\/usr\/lib\/python2.7', '\/usr\/lib\/python2.7\/plat-arm-linux-gnueabihf', '\/usr\/lib\/python2.7\/lib-tk', '\/usr\/lib\/python2.7\/lib-old', '\/usr\/lib\/python2.7\/lib-dynload', '\/usr\/local\/lib\/python2.7\/dist-packages', '\/usr\/lib\/python2.7\/dist-packages']<\/pre>\n<p>\u304a\u304a\u304a\u304a\u304a\u304a\u304a\u304a\u304a\u304a\u304a\u304a\u304a\u304a\u30fc\u30fc\u30fc\u30fc\u30fc\u30fc\u30fc\u30fc\u30fc\u30fc\u30fc\u30fc\u30fc!!!!!!!!<\/p>\n<p>&#8216;\/home\/pi\/.local\/lib\/python2.7\/site-packages&#8217;\u304c\u7121\u3044!!!\u3088\u306d!!!???\u521d\u3081\u3066\u539f\u56e0\u3063\u307d\u3044\u4e8b\u306b\u7a81\u304d\u5f53\u305f\u3063\u305f\u6c17\u304c\u3059\u308b!\u3067\u3001\u3058\u3083\u3042cron\u3067\u5b9f\u884c\u3059\u308b\u6642\u306b\u30d1\u30b9\u304c\u901a\u3063\u305f\u72b6\u614b\u306b\u3059\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3044\u3044\u306e\u304b\u3057\u3089\u2026?\u30b0\u30b0\u308b\u3068pillow\u3092\u30aa\u30d7\u30b7\u30e7\u30f3\u4ed8\u3051\u3066\u518d\u30a4\u30f3\u30b9\u30b3\u3059\u308c\u3070\u3044\u3044\u307f\u305f\u3044\u3002<\/p>\n<pre class=\"shell\">$ pip uninstall pillow<\/pre>\n<p>\u3067\u30a2\u30f3\u30a4\u30f3\u30b9\u30b3\u3002\u2026\u3060\u3051\u3069<\/p>\n<pre>Uninstalling Pillow-6.1.0:\r\n  Would remove:\r\n    \/home\/pi\/.local\/lib\/python2.7\/site-packages\/PIL\/*\r\n    \/home\/pi\/.local\/lib\/python2.7\/site-packages\/Pillow-6.1.0.dist-info\/*\r\nProceed (y\/n)? y\r\n  Successfully uninstalled Pillow-6.1.0<\/pre>\n<p>\u3055\u3063\u304d\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u542b\u307e\u308c\u3066\u308b\u3002\u3046\u30fc\u3093?\u3044\u3044\u306e\u304b\u306a\u3002\u3067\u3001\u307e\u3041\u4eca\u5ea6\u306f<\/p>\n<pre>$ python -m pip install pillow<\/pre>\n<p>\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002\u3042\u308c?\u30a8\u30e9\u30fc<\/p>\n<pre>ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '\/usr\/local\/lib\/python2.7\/dist-packages\/Pillow-6.1.0.dist-info'\r\nConsider using the `--user` option or check the permissions.<\/pre>\n<p>\u6a29\u9650\u307d\u3044\u306e\u3067sudo\u4ed8\u3051\u3066\u307f\u308b\u3002<\/p>\n<pre class=\"shell\">$ sudo python -m pip install pillow<\/pre>\n<p>\u305d\u3057\u305f\u3089<\/p>\n<pre>Successfully installed pillow-6.1.0<\/pre>\n<p>\u901a\u3063\u305f\u3002\u305d\u3057\u305f\u3089\u3082\u3063\u304b\u3044<\/p>\n<pre>$ pip show pillow<\/pre>\n<p>\u3059\u308b\u3068<\/p>\n<pre>Name: Pillow\r\nVersion: 6.1.0\r\nSummary: Python Imaging Library (Fork)\r\nHome-page: http:\/\/python-pillow.org\r\nAuthor: Alex Clark (Fork Author)\r\nAuthor-email: aclark@aclark.net\r\nLicense: UNKNOWN\r\nLocation: \/usr\/local\/lib\/python2.7\/dist-packages\r\nRequires:\r\nRequired-by:<\/pre>\n<p>\u304a\u3049\u3001Location\u304ccron\u304c\u898b\u3066\u308b\u30d1\u30b9\u306b\u5909\u308f\u3063\u305f!\u306a\u308b\u307b\u3069\u3001\u305d\u3063\u3061\u304b\u3002cron\u306b\u30d1\u30b9\u3092\u901a\u3059\u3093\u3058\u3083\u306a\u304f\u3066\u3001\u305d\u3082\u305d\u3082\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u3092\u5909\u3048\u308b\u306e\u306d\u3002\u3068\u3001\u3044\u3046\u3053\u3068\u306f\u3001crontab\u306b\u307e\u305f<\/p>\n<pre>0-59\/3 * * * * python \/home\/pi\/nas\/shutter.py &gt;&gt; \/tmp\/test.log 2&gt;&amp;1<\/pre>\n<p>\u3066\u8ffd\u8a18\u3057\u3066\u307f\u308b\u3068\u2026<\/p>\n<p><a href=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/success.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-569\" src=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/success-300x213.png\" alt=\"\" width=\"300\" height=\"213\" srcset=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/success-300x213.png 300w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/success-768x545.png 768w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/success.png 836w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u3046\u304a\u304a\u304a\u304a\u304a!!!!!<\/p>\n<p><a href=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/00000-3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-570\" src=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/00000-3-300x200.jpg\" alt=\"\" width=\"300\" height=\"200\" srcset=\"https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/00000-3-300x200.jpg 300w, https:\/\/dalomo.net\/blog\/wp-content\/uploads\/2019\/07\/00000-3.jpg 720w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u3067\u304d\u305f!!!!!\u9577\u304b\u3063\u305f\u3041\uff5e\u0669(\u2032\u0434\u2035)\u06f6<\/p>\n<h4>\u8aad\u3093\u3067\u306a\u3093\u3068\u306a\u304f\u5206\u304b\u3063\u305f\u6c17\u306b\u306a\u3063\u305f\u8cea\u554f\u3068\u56de\u7b54\u3092\u96d1\u306b\u7ffb\u8a33\u3057\u3068\u304f<\/h4>\n<p><a href=\"https:\/\/www.raspberrypi.org\/forums\/viewtopic.php?t=213591\">https:\/\/www.raspberrypi.org\/forums\/viewtopic.php?t=213591<\/a><\/p>\n<blockquote>\n<h5>Python\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3063\u3066\u3069\u3053\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u306e?<\/h5>\n<p>pip\u3092\u4f7f\u3063\u3066Python\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u6642\u3001\u3069\u3053\u306e\u30d5\u30a9\u30eb\u30c0\u968e\u5c64\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u306e?<\/p>\n<h5>Re:<\/h5>\n<ul>\n<li>\u30b7\u30f3\u30b0\u30eb\u30e6\u30fc\u30b6\u30fc\u306e\u5834\u5408(sudo\u3092\u4f7f\u308f\u306a\u3044\u5834\u5408)\n<ul>\n<li>~\/.local\/lib\/python2.7<\/li>\n<\/ul>\n<\/li>\n<li>\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306e\u5834\u5408(sudo\u3092\u4f7f\u3046\u5834\u5408)\n<ul>\n<li>\/usr\/local\/lib\/python2.7<\/li>\n<\/ul>\n<\/li>\n<li>apt\u306b\u3088\u3063\u3066Python\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5834\u5408\n<ul>\n<li>\/usr\/lib\/python2.7<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u901a\u5e38\u3001Python\u306f\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30easite-packages\u3092\u4f7f\u3046\u3051\u3069\u3001Debian\u30d9\u30fc\u30b9\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff08Raspbian\u306d\uff09\u306f\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30eadist-packages\u3092\u4f7f\u3046\u3088\u3002<\/p>\n<p>\u3064\u30fc\u3053\u3068\u3067\u3001\u3082\u3057<\/p>\n<pre>sudo pip install mylib<\/pre>\n<p>\u3066\u3057\u305f\u3089\u3001mylib\u306f<\/p>\n<p>\/usr\/local\/lib\/python2.7\/dist-packages<\/p>\n<p>\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u3088\u3002<\/p>\n<p>pip3\u3092\u4f7f\u3046\u5834\u5408\u3001python2.7\u3092python3.5\u306b\u7f6e\u304d\u63db\u3048\u3066\u306d\u3002<\/p><\/blockquote>\n<p>\u3075\u3080\u3075\u3080\u3002\u3064\u307e\u308a\u4e00\u756a\u6700\u521d\u306bpillow\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u6642\u306b\u306f\u3001\u30b7\u30f3\u30b0\u30eb\u30e6\u30fc\u30b6\u30fc\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u305f\u306e\u3067\u3001\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306ecron\u3067\u4f7f\u304a\u3046\u3068\u3057\u3066\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5834\u6240\u304c\u5206\u304b\u3093\u306a\u304f\u3066\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u305f\u3063\u3066\u3053\u3068\u3067\u3044\u3044\u306e\u304b\u306a\u3002\u3044\u3044\u3053\u3068\u306b\u3057\u3068\u3053\u3046\u3002<\/p>\n<p>\u7d50\u5c40cron\u3067\u30d1\u30b9\u901a\u3059\u3084\u308a\u65b9\u306f\u5206\u304b\u3093\u306a\u304b\u3063\u305f\u3051\u3069\u3001\u76ee\u7684\u306f\u9054\u6210\u3067\u304d\u305f\u306e\u3067\u3044\u30fc\u3084\u3002\u3057\u304b\u3057\u307e\u3041\u6a29\u9650\u3068\u304b\u30e6\u30fc\u30b6\u3068\u304b\u30b0\u30eb\u30fc\u30d7\u3068\u304b\u3044\u307e\u3044\u3061\u3061\u3083\u3093\u3068\u98f2\u307f\u8fbc\u3081\u3066\u306a\u3044\u2026\u3002\u3084\u3063\u3066\u3051\u3070\u5206\u304b\u308b\u304b\u306a\u3041\u3002<\/p>\n<h2>\u53c2\u8003<\/h2>\n<p><a href=\"https:\/\/note.nkmk.me\/python-image-processing-pillow-numpy-opencv\/\">https:\/\/note.nkmk.me\/python-image-processing-pillow-numpy-opencv\/<\/a><\/p>\n<p><a href=\"https:\/\/qiita.com\/tsuchima\/items\/ca8f0cd383fa93d875c8#raspberry-pi-zero%E3%81%AEswap%E3%82%92%E4%B8%8A%E3%81%92%E3%82%8B\">https:\/\/qiita.com\/tsuchima\/items\/ca8f0cd383fa93d875c8#raspberry-pi-zero%E3%81%AEswap%E3%82%92%E4%B8%8A%E3%81%92%E3%82%8B<\/a><\/p>\n<p><a href=\"https:\/\/qiita.com\/paper2\/items\/b67d07813eba7f895635\">https:\/\/qiita.com\/paper2\/items\/b67d07813eba7f895635<\/a><\/p>\n<p><a href=\"https:\/\/note.nkmk.me\/python-pillow-basic\/\">https:\/\/note.nkmk.me\/python-pillow-basic\/<\/a><\/p>\n<p><a href=\"http:\/\/min117.hatenablog.com\/entry\/2017\/08\/26\/110104\">http:\/\/min117.hatenablog.com\/entry\/2017\/08\/26\/110104<\/a><\/p>\n<p><a href=\"https:\/\/qiita.com\/Higemal\/items\/5a579b2701ef7c473062\">https:\/\/qiita.com\/Higemal\/items\/5a579b2701ef7c473062<\/a><\/p>\n<p><a href=\"https:\/\/teratail.com\/questions\/124857\">https:\/\/teratail.com\/questions\/124857<\/a><\/p>\n<p><a href=\"http:\/\/tkns-jp.net\/index.php?id=11\">http:\/\/tkns-jp.net\/index.php?id=11<\/a><\/p>\n<p><a href=\"https:\/\/qiita.com\/kkoito\/items\/28d9a453c425b08738d2\">https:\/\/qiita.com\/kkoito\/items\/28d9a453c425b08738d2<\/a><\/p>\n<p><a href=\"https:\/\/gist.github.com\/koudaiii\/49ac3f8b7c207f0da31f#link2keyword=crontab%E3%82%92%E8%A8%AD%E5%AE%9A%E3%81%97%E3%81%A6%E3%82%82%E5%AE%9F%E8%A1%8C%E3%81%95%E3%82%8C%E3%81%AA%E3%81%84%E6%99%82%E3%81%AE%E7%A2%BA%E8%AA%8D%E3%83%9D%E3%82%A4%E3%83%B3%E3%83%88%20%E3%83%BB%20GitHub\">https:\/\/gist.github.com\/koudaiii\/49ac3f8b7c207f0da31f#link2keyword=crontab%E3%82%92%E8%A8%AD%E5%AE%9A%E3%81%97%E3%81%A6%E3%82%82%E5%AE%9F%E8%A1%8C%E3%81%95%E3%82%8C%E3%81%AA%E3%81%84%E6%99%82%E3%81%AE%E7%A2%BA%E8%AA%8D%E3%83%9D%E3%82%A4%E3%83%B3%E3%83%88%20%E3%83%BB%20GitHub<\/a><\/p>\n<p><a href=\"https:\/\/teratail.com\/questions\/49082\">https:\/\/teratail.com\/questions\/49082<\/a><\/p>\n<p><a href=\"https:\/\/higelog.brassworks.jp\/1775#link2keyword=%E3%82%B3%E3%83%B3%E3%82%BD%E3%83%BC%E3%83%AB%E3%81%A7%E5%8F%A9%E3%81%8F%E3%81%A8%E5%8B%95%E3%81%8F%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E3%81%8CCron%E3%81%A7%E5%8B%95%E3%81%8B%E3%81%AA%E3%81%84%E6%99%82\">https:\/\/higelog.brassworks.jp\/1775#link2keyword=%E3%82%B3%E3%83%B3%E3%82%BD%E3%83%BC%E3%83%AB%E3%81%A7%E5%8F%A9%E3%81%8F%E3%81%A8%E5%8B%95%E3%81%8F%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E3%81%8CCron%E3%81%A7%E5%8B%95%E3%81%8B%E3%81%AA%E3%81%84%E6%99%82<\/a><\/p>\n<p><a href=\"https:\/\/titirobo-develop.hatenablog.jp\/entry\/2018\/07\/03\/141510\">https:\/\/titirobo-develop.hatenablog.jp\/entry\/2018\/07\/03\/141510<\/a><\/p>\n<p><a href=\"https:\/\/qiita.com\/arumiti\/items\/835e87c35dcbb69d8ca2\">https:\/\/qiita.com\/arumiti\/items\/835e87c35dcbb69d8ca2<\/a><\/p>\n<p><a href=\"https:\/\/qiita.com\/Kent_recuca\/items\/349586e9c034535f2991\">https:\/\/qiita.com\/Kent_recuca\/items\/349586e9c034535f2991<\/a><\/p>\n<p><a href=\"https:\/\/www.haya-programming.com\/entry\/2018\/09\/09\/202711\">https:\/\/www.haya-programming.com\/entry\/2018\/09\/09\/202711<\/a><\/p>\n<p><a href=\"https:\/\/teratail.com\/questions\/181563\">https:\/\/teratail.com\/questions\/181563<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8a18\u4e8b\u304c\u30af\u30bd\u9577\u304f\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u306e\u3067\u5206\u3051\u308b\u3053\u3068\u306b\u3057\u305f\u3002 \u753b\u50cf\u306b\u65e5\u4ed8\u3092\u4ed8\u3051\u308b \u8abf\u3079\u3066\u307f\u305f\u3089exif\u3092\u4f7f\u3046\u3084\u3064\u304c\u591a\u3044\u307f\u305f\u3044\u3002\u305d\u3093\u306a\u53b3\u5bc6\u3067\u306a\u304f\u3066\u3082\u3044\u3044\u3093\u3060\u3088\u306a\u2026\u3002Python\u306b\u306f\u753b\u50cf\u51e6\u7406\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u3057\u3066\u3001Pillow, NumPy &hellip; <a href=\"https:\/\/dalomo.net\/blog\/2019\/07\/17\/575\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":563,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[8],"tags":[50,49,47],"class_list":["post-575","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-8","tag-python","tag-raspberry-pi-zero-wh","tag-47"],"_links":{"self":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/575","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/comments?post=575"}],"version-history":[{"count":4,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/575\/revisions"}],"predecessor-version":[{"id":579,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/posts\/575\/revisions\/579"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/media\/563"}],"wp:attachment":[{"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/media?parent=575"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/categories?post=575"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dalomo.net\/blog\/wp-json\/wp\/v2\/tags?post=575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}