{"id":3104,"date":"2022-06-06T22:42:18","date_gmt":"2022-06-06T13:42:18","guid":{"rendered":"http:\/\/43.203.250.216\/?p=3104"},"modified":"2026-02-04T11:51:09","modified_gmt":"2026-02-04T02:51:09","slug":"mac-osx%ec%97%90%ec%84%9c-%eb%b9%8c%eb%93%9c-%ec%8b%a4%ed%8c%a8%eb%a1%9c-%ec%9d%b8%ed%95%9c-numpy-%ec%84%a4%ec%b9%98-%eb%ac%b8%ec%a0%9c","status":"publish","type":"post","link":"https:\/\/litcoder.com\/?p=3104","title":{"rendered":"macOS\uc5d0\uc11c numpy \uc124\uce58\ud560 \ub54c \ube4c\ub4dc \uc2e4\ud328 \ubb38\uc81c"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Intel Mac\uc5d0\uc11c pip\ub85c numpy(ver1.22)\ub97c \uc124\uce58\ud558\ub824\uace0 \ud588\ub354\ub2c8 \uc124\uce58\uc5d0 \uc2e4\ud328\ud558\uba74\uc11c \uc544\uc8fc \uc544\uc8fc \uae34 \uc624\ub958\uac00 \ub098\uc624\ub294\ub370 Clang compiler option\uc758 architecture flag\uac00 \uc880 \uc774\uc0c1\ud558\ub2e4.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">% python3 -m pip install numpy\n...\n clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot\/System\/Library\/Frameworks\/System.framework\/PrivateHeaders -iwithsysroot\/Applications\/Xcode.app\/Contents\/Developer\/Library\/Frameworks\/Python3.framework\/Versions\/3.8\/Headers -arch arm64 -arch x86_64 ...\n  clang: error: the clang compiler does not support '-march=native'\n...<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>&#8220;-arch arm64 -arch x86_64&#8221;<\/em><\/strong> \ub77c\ub294 \uac74 Apple silicon\uacfc Intel architecture\ub97c \ubaa8\ub450 \uc9c0\uc6d0\ud574 \ubcf4\uaca0\ub2e4\ub294  \ub73b\uc778\uac00? \ud639\uc2dc\ub098 \ud574\uc11c \ud658\uacbd \ubcc0\uc218\ub85c ARCHFLAGS=&#8221;-arch x86_64&#8243;\ub97c \uc8fc\uace0 \uc7ac \uc2e4\ud589\ud574 \ubd24\ub354\ub2c8 \uc774\uc804\uc5d0 \uc788\ub358 -march=native \ud50c\ub798\uadf8\uac00 \uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294\ub2e4\ub294 \uc5d0\ub7ec\uac00 \uc5c6\uc5b4\uc9c0\uba74 \uc798 \uc124\uce58\uac00 \ub418\uc5c8\ub2e4.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">% ARCHFLAGS=\"-arch x86_64\" python3 -m pip install numpy<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\uc880 \ub354 \uc77c\ubc18\uc801\uc73c\ub85c \uc801\uc6a9\ub420 \uc218 \uc788\ub294 \ub2e4\ub978 \ubc29\ubc95\uc73c\ub85c &#8220;&#8211;only-binary&#8221; \uc635\uc158\uc744 \uc8fc\uc5b4\uc11c wheel package file build\ub97c \uc548 \ud558\ub3c4\ub85d \ud558\ub294 \ubc29\ubc95\ub3c4 \uace0\ub824\ud574 \ubcfc \uc218 \uc788\uaca0\ub2e4.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">% pip install numpy --only-binary numpy\nCollecting numpy\n  Downloading numpy-1.22.4-cp38-cp38-macosx_10_15_x86_64.whl (17.6 MB)\n     \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 17.6\/17.6 MB 30.0 MB\/s eta 0:00:00\nInstalling collected packages: numpy\nSuccessfully installed numpy-1.22.4<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Intel Mac\uc5d0\uc11c pip\ub85c numpy(ver1.22)\ub97c \uc124\uce58\ud558\ub824\uace0 \ud588\ub354\ub2c8 \uc124\uce58\uc5d0 \uc2e4\ud328\ud558\uba74\uc11c \uc544\uc8fc \uc544\uc8fc \uae34 \uc624\ub958\uac00 \ub098\uc624\ub294\ub370 Clang compiler option\uc758 architecture flag\uac00 \uc880 \uc774\uc0c1\ud558\ub2e4. &#8220;-arch arm64 -arch x86_64&#8221; \ub77c\ub294 \uac74 Apple silicon\uacfc Intel architecture\ub97c \ubaa8\ub450 \uc9c0\uc6d0\ud574 \ubcf4\uaca0\ub2e4\ub294 \ub73b\uc778\uac00? \ud639\uc2dc\ub098 \ud574\uc11c \ud658\uacbd \ubcc0\uc218\ub85c ARCHFLAGS=&#8221;-arch x86_64&#8243;\ub97c \uc8fc\uace0 \uc7ac \uc2e4\ud589\ud574 \ubd24\ub354\ub2c8 \uc774\uc804\uc5d0 \uc788\ub358 -march=native \ud50c\ub798\uadf8\uac00 \uc9c0\uc6d0\ub418\uc9c0 \uc54a\ub294\ub2e4\ub294 \uc5d0\ub7ec\uac00 \uc5c6\uc5b4\uc9c0\uba74 \uc798 \uc124\uce58\uac00 \ub418\uc5c8\ub2e4. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[6],"tags":[297,296,295,294,105],"class_list":["post-3104","post","type-post","status-publish","format-standard","hentry","category-tools","tag-clang","tag-march","tag-numpy","tag-pip","tag-python"],"jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":3116,"url":"https:\/\/litcoder.com\/?p=3116","url_meta":{"origin":3104,"position":0},"title":"CARLA client\ub97c build\ud574\uc57c \ud558\ub294\ub370 clang-8\uc774 \uc5c6\ub304\ub2e4.","author":"litcoder","date":"2022\ub144 7\uc6d4 27\uc77c","format":false,"excerpt":"2022\ub144 9\uc6d4 \ud604\uc7ac CARLA simulator\uc758 \ucd5c\uc2e0 \ubc84\uc804\uc778 0.9.13\uc73c\ub85c PythonAPI\ub97c \ube4c\ub4dc\ud558\ub824\uace0 \ud558\uba74 clang-8 version\uc744 \uc694\uad6c\ud558\ub294\ub370 Ubuntu 22.04\uc5d0\uc11c\ub294 clang-8\uc758 repository\ub97c \ucd94\uac00\ud558\uace0 \uc124\uce58 \uc2dc\ub3c4\ud558\uba74 \ub2e4\uc74c\uacfc \uac19\uc774 \uc758\uc874\uc131 \uc624\ub958\uac00 \uc0dd\uae34\ub2e4. The following packages have unmet dependencies: clang-8 : Depends: libllvm8 (>= 1:8~svn298832-1~) but it is not going to be installed Depends: libstdc++-5-dev but it\u2026","rel":"","context":"&quot;Linux&quot;\uc5d0\uc11c","block_context":{"text":"Linux","link":"https:\/\/litcoder.com\/?cat=4"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3847,"url":"https:\/\/litcoder.com\/?p=3847","url_meta":{"origin":3104,"position":1},"title":"Raspberry Pi 5\uc5d0 \uac04\ub2e8\ud55c Linux \uc2dc\uc2a4\ud15c \uc62c\ub9ac\uae30","author":"litcoder","date":"2025\ub144 12\uc6d4 3\uc77c","format":false,"excerpt":"\uc774 \ud3ec\uc2a4\ud305\uc5d0\uc11c\ub294 Raspberry pi 5(RPi5)\uc5d0 \uc544\uc8fc \ub2e8\uc21c\ud55c \ub9ac\ub205\uc2a4 \uc2dc\uc2a4\ud15c\uc744 \uad6c\uc131\ud574\uc11c \ubd80\ud305\ud574 \ubcf4\ub294 \uacfc\uc815\uc744 \ub2e4\ub8ec\ub2e4. Ubuntu 24.04 \uac1c\ubc1c\ud658\uacbd\uc5d0\uc11c RPi5\ub97c \uc704\ud55c u-boot, Linux, Busybox\ub97c \uc124\uc815\ud558\uace0 \ubd80\ud305\ud574 \ubcfc \uac83\uc774\ub2e4. SD card \uc900\ube44 SD card\ub97c \uac1c\ubc1c \ud638\uc2a4\ud2b8 \uba38\uc2e0\uc5d0 \uc0bd\uc785\ud558\uace0 lsblk \uba85\ub839\uc5b4\ub85c \uc5f0\uacb0\ub41c \ub514\ubc14\uc774\uc2a4\ub4e4\uc744 \ud655\uc778\ud55c\ub2e4. \uc704\uc758 \uc608\uc81c\uc5d0\uc11c SD card\ub294 mmclbk0\uc774\ub2e4. \uc800\uc7a5\uacf5\uac04\uc758 \ud06c\uae30\ub97c \ud1b5\ud574 \uad6c\ubd84\ud558\uac70\ub098 SD\u2026","rel":"","context":"&quot;Linux&quot;\uc5d0\uc11c","block_context":{"text":"Linux","link":"https:\/\/litcoder.com\/?cat=4"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2025\/11\/u-boot-lsblk.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2025\/11\/u-boot-lsblk.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2025\/11\/u-boot-lsblk.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":3957,"url":"https:\/\/litcoder.com\/?p=3957","url_meta":{"origin":3104,"position":2},"title":"Raspberry Pi\uc6a9 Qt5 Cross Compile","author":"litcoder","date":"2025\ub144 12\uc6d4 24\uc77c","format":false,"excerpt":"\uc774 \ud3ec\uc2a4\ud305\uc740 Qt5 5.15.11\uc744 RPi5\uc6a9\uc73c\ub85c \ud06c\ub85c\uc2a4 \ucef4\ud30c\uc77c \ud558\ub294 \uacfc\uc815\uc744 \uc815\ub9ac\ud55c \uac83\uc774\ub2e4. Build host\ub294 Ubuntu 24.04\uc774\ub2e4. Overview 2025\ub144 12\uc6d4 \ud604\uc7ac, Qt5\uac00 RPi\uc6a9 deb package \uc0dd\uc131\uc744 \uc9c1\uc811 \uc9c0\uc6d0\ud558\uc9c0\ub294 \uc54a\uae30 \ub54c\ubb38\uc5d0 \ub2e4\uc18c \ubcf5\uc7a1\ud558\uace0 \ubc88\uac70\ub86d\uae34 \ud558\uc9c0\ub9cc, target\uc778 Raspberry Pi OS\uc758 image \ud30c\uc77c\uc744 \ube4c\ub4dc \ud638\uc2a4\ud2b8 \uba38\uc2e0\uc5d0 loop device\ub85c \ub9c8\uc6b4\ud2b8 \uc2dc\ucf1c\uc11c \ud06c\ub85c\uc2a4 \ucef4\ud30c\uc77c\uc744 \uc218\ud589\ud558\uace0 \uadf8 \uacb0\uacfc\ub97c\u2026","rel":"","context":"&quot;Linux&quot;\uc5d0\uc11c","block_context":{"text":"Linux","link":"https:\/\/litcoder.com\/?cat=4"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2025\/12\/qt5_raspios_mount.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2025\/12\/qt5_raspios_mount.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2025\/12\/qt5_raspios_mount.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2025\/12\/qt5_raspios_mount.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2025\/12\/qt5_raspios_mount.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":3736,"url":"https:\/\/litcoder.com\/?p=3736","url_meta":{"origin":3104,"position":3},"title":"MacPorts: Orange3 Text Add-on \ucd94\uac00\ud560 \ub54c \uc624\ub958","author":"litcoder","date":"2025\ub144 10\uc6d4 21\uc77c","format":false,"excerpt":"\uc624\ub798\ub41c Intel Mac\uc740 Monterey\uc774\ud6c4 \uc5c5\ub370\uc774\ud2b8\uac00 \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uae30 \ub54c\ubb38\uc5d0 \ucd5c\uc2e0 \ubc84\uc804\uc758 Homebrew\ub3c4 \uc0ac\uc6a9\ud560 \uc218\uac00 \uc5c6\ub2e4. \uc774 \ub54c\ubb38\uc5d0 MacPorts\ub97c \uc0ac\uc6a9\ud558\ub294\ub370 Orange3\uc5d0 Text add-on\uc744 \uc124\uce58\ub97c \uc2dc\ub3c4\ud560 \ub54c Arch Linux\uc5d0\uc11c\uc640 \uac19\uc740 gensim\ubc84\uc804 \ubb38\uc81c\uac00 \uc0dd\uacbc\ub2e4(\ucc38\uc870: Arch Linux\uc5d0\uc11c Orange3 Text add-on \uc124\uce58\ubb38\uc81c \ud574\uacb0). 2025\ub144 10\uc6d4 \ud604\uc7ac \ucd5c\uc2e0\ubc84\uc804\uc778 gensim 4.3.3\uc758 Python version \ubd88\uc77c\uce58 \ub54c\ubb38\uc5d0 \ubc1c\uc0dd\ud558\ub294 \ubb38\uc81c\uc778\ub370, Arch\u2026","rel":"","context":"&quot;Tools &amp; Tips&quot;\uc5d0\uc11c","block_context":{"text":"Tools &amp; Tips","link":"https:\/\/litcoder.com\/?cat=6"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2025\/10\/Screen-Shot-2025-10-11-at-1.59.11-PM.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2025\/10\/Screen-Shot-2025-10-11-at-1.59.11-PM.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2025\/10\/Screen-Shot-2025-10-11-at-1.59.11-PM.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":3716,"url":"https:\/\/litcoder.com\/?p=3716","url_meta":{"origin":3104,"position":4},"title":"OpenVINO\ub85c Intel NPU\uc5d0\uc11c \ucd94\ub860 \uc2e4\ud589\ud558\uae30","author":"litcoder","date":"2025\ub144 11\uc6d4 12\uc77c","format":false,"excerpt":"Intel 14\uc138\ub300 Meteor Lake \ubd80\ud130 NPU\uac00 \ud568\uaed8 embedding\ub418\uc5b4 \uc81c\uacf5\ub41c\ub2e4. Linux system\uc5d0\uc11c \uc0ac\uc6a9\ud558\ub824\uba74 kernel version 6.2\uc774\uc0c1\uc774 \uc124\uce58\ub418\uc5b4 \uc788\uc5b4\uc57c \ud55c\ub2e4. NPU \ub514\ubc14\uc774\uc2a4 \ud655\uc778 CPU: Intel(R) Core(TM) Ultra 5 OS: Ubuntu 24.04 Linux kernel: 6.14.0-33-generic lspci \uba85\ub839\uc5b4\ub85c NPU \ub514\ubc14\uc774\uc2a4\uac00 \uc778\uc2dd\ub418\uc5b4 \uc788\ub294\uc9c0\ub97c \ud655\uc778\ud560 \uc218 \uc788\ub2e4. $ lspci -v|grep -A 9 NPU 00:0b.0 Processing accelerators:\u2026","rel":"","context":"&quot;Linux&quot;\uc5d0\uc11c","block_context":{"text":"Linux","link":"https:\/\/litcoder.com\/?cat=4"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1456,"url":"https:\/\/litcoder.com\/?p=1456","url_meta":{"origin":3104,"position":5},"title":"MinnowboardMAX\uc5d0 Yocto \uc62c\ub824\ubcf8 \ub0b4\uc6a9 \uc815\ub9ac","author":"litcoder","date":"2016\ub144 2\uc6d4 8\uc77c","format":false,"excerpt":"Yocto\ub294 embedded \ud658\uacbd\uc5d0 Linux\ub97c \ud3b8\ub9ac\ud558\uac8c \uc801\uc6a9\ud558\uae30\uc704\ud55c \ubaa9\uc801\uc758 \ud504\ub85c\uc81d\ud2b8\ub85c \ubcf4\ub2e4 \uc790\uc138\ud55c \ub0b4\uc6a9\uc740 project home page\uc778 https:\/\/www.yoctoproject.org\uc5d0\uc11c \ud655\uc778\ud560 \uc218 \uc788\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 Intel Baytrail\uc744 \uc0ac\uc6a9\ud558\ub294 MinnowboardMAX\uc5d0 \u00a0Yocto linux\ub97c \uc62c\ub9ac\ub294 \uacfc\uc815\uc744 \uc124\uba85\ud55c\ub2e4. \ud658\uacbd\uc124\uc815 Ubuntu 14.04 (64bit) sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev xterm 64bit firmware\uac00\u2026","rel":"","context":"&quot;Linux&quot;\uc5d0\uc11c","block_context":{"text":"Linux","link":"https:\/\/litcoder.com\/?cat=4"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2016\/02\/yocto_sato_running.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2016\/02\/yocto_sato_running.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2016\/02\/yocto_sato_running.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2016\/02\/yocto_sato_running.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2016\/02\/yocto_sato_running.jpg?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2016\/02\/yocto_sato_running.jpg?resize=1400%2C800&ssl=1 4x"},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts\/3104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3104"}],"version-history":[{"count":9,"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts\/3104\/revisions"}],"predecessor-version":[{"id":4133,"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts\/3104\/revisions\/4133"}],"wp:attachment":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}