{"id":45077,"date":"2023-08-19T04:25:34","date_gmt":"2023-12-24T01:52:27","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/45077-2\/"},"modified":"2024-04-30T19:09:15","modified_gmt":"2024-04-30T11:09:15","slug":"45077-2","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/45077-2\/","title":{"rendered":""},"content":{"rendered":"<h1>Error<\/h1>\n<pre class=\"post-pre\"><code>make <span class=\"nb\">install<\/span> <span class=\"c\"># \u5185\u90e8\u3067 pip install -r requirements.txt<\/span>\r\n...\r\n  writing manifest file <span class=\"s1\">'src\/cryptography.egg-info\/SOURCES.txt'<\/span>\r\n  copying src\/cryptography\/py.typed -&gt; build\/lib.macosx-11.4-x86_64-3.7\/cryptography\r\n  creating build\/lib.macosx-11.4-x86_64-3.7\/cryptography\/hazmat\/bindings\/_rust\r\n  copying src\/cryptography\/hazmat\/bindings\/_rust\/__init__.pyi -&gt; build\/lib.macosx-11.4-x86_64-3.7\/cryptography\/hazmat\/bindings\/_rust\r\n  copying src\/cryptography\/hazmat\/bindings\/_rust\/asn1.pyi -&gt; build\/lib.macosx-11.4-x86_64-3.7\/cryptography\/hazmat\/bindings\/_rust\r\n  copying src\/cryptography\/hazmat\/bindings\/_rust\/ocsp.pyi -&gt; build\/lib.macosx-11.4-x86_64-3.7\/cryptography\/hazmat\/bindings\/_rust\r\n  copying src\/cryptography\/hazmat\/bindings\/_rust\/x509.pyi -&gt; build\/lib.macosx-11.4-x86_64-3.7\/cryptography\/hazmat\/bindings\/_rust\r\n  running build_ext\r\n  generating cffi module <span class=\"s1\">'build\/temp.macosx-11.4-x86_64-3.7\/_openssl.c'<\/span>\r\n  creating build\/temp.macosx-11.4-x86_64-3.7\r\n  running build_rust\r\n\r\n      <span class=\"o\">=============================<\/span>DEBUG <span class=\"nv\">ASSISTANCE<\/span><span class=\"o\">=============================<\/span>\r\n      If you are seeing a compilation error please try the following steps to\r\n      successfully <span class=\"nb\">install <\/span>cryptography:\r\n      1<span class=\"o\">)<\/span> Upgrade to the latest pip and try again. This will fix errors <span class=\"k\">for <\/span>most\r\n         users. See: https:\/\/pip.pypa.io\/en\/stable\/installing\/#upgrading-pip\r\n      2<span class=\"o\">)<\/span> Read https:\/\/cryptography.io\/en\/latest\/installation\/ <span class=\"k\">for <\/span>specific\r\n         instructions <span class=\"k\">for <\/span>your platform.\r\n      3<span class=\"o\">)<\/span> Check our frequently asked questions <span class=\"k\">for <\/span>more information:\r\n         https:\/\/cryptography.io\/en\/latest\/faq\/\r\n      4<span class=\"o\">)<\/span> Ensure you have a recent Rust toolchain installed:\r\n         https:\/\/cryptography.io\/en\/latest\/installation\/#rust\r\n\r\n      Python: 3.7.9\r\n      platform: Darwin-20.5.0-x86_64-i386-64bit\r\n      pip: n\/a\r\n      setuptools: 58.5.3\r\n      setuptools_rust: 0.12.1\r\n      <span class=\"o\">=============================<\/span>DEBUG <span class=\"nv\">ASSISTANCE<\/span><span class=\"o\">=============================<\/span>\r\n\r\n  error: can<span class=\"s1\">'t find Rust compiler\r\n\r\n  If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.\r\n\r\n  To update pip, run:\r\n\r\n      pip install --upgrade pip\r\n\r\n  and then retry package installation.\r\n\r\n  If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https:\/\/rustup.rs) is the recommended way to download and update the Rust compiler toolchain.\r\n\r\n  This package requires Rust &gt;=1.41.0.\r\n  ----------------------------------------\r\n  ERROR: Failed building wheel for cryptography\r\n\r\nFailed to build pandas cryptography\r\nERROR: Could not build wheels for pandas, cryptography which use PEP 517 and cannot be installed directly\r\nWARNING: You are using pip version 20.1.1; however, version 21.3.1 is available.\r\nYou should consider upgrading via the '<\/span>\/Users\/masato-naka\/xxxxxxx\/.venv\/bin\/python3 <span class=\"nt\">-m<\/span> pip <span class=\"nb\">install<\/span> <span class=\"nt\">--upgrade<\/span> pip<span class=\"s1\">' command.\r\nmake: *** [install] Error 1\r\n<\/span><\/code><\/pre>\n<h1>\u539f\u56e0<\/h1>\n<p>\u3088\u304f\u898b\u305f\u3089can&#8217;t find Rust compiler \u3068\u306a\u3063\u3066\u308b<\/p>\n<h1>\u89e3\u6c7a\u6cd5<\/h1>\n<p>\u5358\u7d14\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/p>\n<pre class=\"post-pre\"><code>curl --proto '=https' --tlsv1.2 -sSf https:\/\/sh.rustup.rs | sh\r\n<\/code><\/pre>\n<details>\u8a73\u7d30curl &#8211;proto &#8216;=https&#8217; &#8211;tlsv1.2 -sSf https:\/\/sh.rustup.rs | sh<br \/>\ninfo: downloading installer<\/p>\n<p>Welcome to Rust!<\/p>\n<p>This will download and install the official compiler for the Rust<br \/>\nprogramming language, and its package manager, Cargo.<\/p>\n<p>Rustup metadata and toolchains will be installed into the Rustup<br \/>\nhome directory, located at:<\/p>\n<p>\/Users\/masato-naka\/.rustup<\/p>\n<p>This can be modified with the RUSTUP_HOME environment variable.<\/p>\n<p>The Cargo home directory located at:<\/p>\n<p>\/Users\/masato-naka\/.cargo<\/p>\n<p>This can be modified with the CARGO_HOME environment variable.<\/p>\n<p>The cargo, rustc, rustup and other commands will be added to<br \/>\nCargo&#8217;s bin directory, located at:<\/p>\n<p>\/Users\/masato-naka\/.cargo\/bin<\/p>\n<p>This path will then be added to your PATH environment variable by<br \/>\nmodifying the profile files located at:<\/p>\n<p>\/Users\/masato-naka\/.profile<br \/>\n\/Users\/masato-naka\/.zshenv<\/p>\n<p>You can uninstall at any time with rustup self uninstall and<br \/>\nthese changes will be reverted.<\/p>\n<p>Current installation options:<\/p>\n<p>default host triple: x86_64-apple-darwin<br \/>\ndefault toolchain: stable (default)<br \/>\nprofile: default<br \/>\nmodify PATH variable: yes<\/p>\n<p>1) Proceed with installation (default)<br \/>\n2) Customize installation<br \/>\n3) Cancel installation<br \/>\n&gt;1<\/p>\n<p>info: profile set to &#8216;default&#8217;<br \/>\ninfo: default host triple is x86_64-apple-darwin<br \/>\ninfo: syncing channel updates for &#8216;stable-x86_64-apple-darwin&#8217;<br \/>\ninfo: latest update on 2021-11-01, rust version 1.56.1 (59eed8a2a 2021-11-01)<br \/>\ninfo: downloading component &#8216;cargo&#8217;<br \/>\ninfo: downloading component &#8216;clippy&#8217;<br \/>\ninfo: downloading component &#8216;rust-docs&#8217;<br \/>\n17.3 MiB \/ 17.3 MiB (100 %) 9.6 MiB\/s in 1s ETA: 0s<br \/>\ninfo: downloading component &#8216;rust-std&#8217;<br \/>\n22.0 MiB \/ 22.0 MiB (100 %) 9.8 MiB\/s in 2s ETA: 0s<br \/>\ninfo: downloading component &#8216;rustc&#8217;<br \/>\n62.2 MiB \/ 62.2 MiB (100 %) 8.9 MiB\/s in 6s ETA: 0s<br \/>\ninfo: downloading component &#8216;rustfmt&#8217;<br \/>\ninfo: installing component &#8216;cargo&#8217;<br \/>\ninfo: installing component &#8216;clippy&#8217;<br \/>\ninfo: installing component &#8216;rust-docs&#8217;<br \/>\n17.3 MiB \/ 17.3 MiB (100 %) 5.2 MiB\/s in 3s ETA: 0s<br \/>\ninfo: installing component &#8216;rust-std&#8217;<br \/>\n22.0 MiB \/ 22.0 MiB (100 %) 11.8 MiB\/s in 1s ETA: 0s<br \/>\ninfo: installing component &#8216;rustc&#8217;<br \/>\n62.2 MiB \/ 62.2 MiB (100 %) 13.6 MiB\/s in 4s ETA: 0s<br \/>\ninfo: installing component &#8216;rustfmt&#8217;<br \/>\ninfo: default toolchain set to &#8216;stable-x86_64-apple-darwin&#8217;<\/p>\n<p>stable-x86_64-apple-darwin installed &#8211; rustc 1.56.1 (59eed8a2a 2021-11-01)<\/p>\n<p>Rust is installed now. Great!<\/p>\n<p>To get started you may need to restart your current shell.<br \/>\nThis would reload your PATH environment variable to include<br \/>\nCargo&#8217;s bin directory ($HOME\/.cargo\/bin).<\/p>\n<p>To configure your current shell, run:<br \/>\nsource $HOME\/.cargo\/env<\/p>\n<\/details>\n<p>\u5f53\u305f\u308a\u524d\u3059\u304e\u308b\u89e3\u6c7a\u65b9\u6cd5\u3060\u3063\u305f\u304c\u2026<\/p>\n<p>\u4eca\u306e\u30b7\u30a7\u30eb\u3067\u305d\u306e\u307e\u307e\u3084\u308b\u5834\u5408\u306b\u306f\u3001\u3053\u308c\u3092\u5fd8\u308c\u305a\u306b\uff01<\/p>\n<pre class=\"post-pre\"><code>source $HOME\/.cargo\/env\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Error make install # \u5185\u90e8\u3067 pip install -r requirements.tx [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-45077","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>- Blog - Silicon Cloud<\/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:\/\/www.silicloud.com\/zh\/blog\/45077-2\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:description\" content=\"Error make install # \u5185\u90e8\u3067 pip install -r requirements.tx [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/45077-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-24T01:52:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-30T11:09:15+00:00\" \/>\n<meta name=\"author\" content=\"\u6e05, \u5b87\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6e05, \u5b87\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/45077-2\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/45077-2\/\",\"name\":\"- Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-12-24T01:52:27+00:00\",\"dateModified\":\"2024-04-30T11:09:15+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/45077-2\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\",\"name\":\"\u6e05, \u5b87\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"caption\":\"\u6e05, \u5b87\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/45077-2\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"- Blog - Silicon Cloud","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:\/\/www.silicloud.com\/zh\/blog\/45077-2\/","og_locale":"zh_CN","og_type":"article","og_description":"Error make install # \u5185\u90e8\u3067 pip install -r requirements.tx [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/45077-2\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-12-24T01:52:27+00:00","article_modified_time":"2024-04-30T11:09:15+00:00","author":"\u6e05, \u5b87","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6e05, \u5b87","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/45077-2\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/45077-2\/","name":"- Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-12-24T01:52:27+00:00","dateModified":"2024-04-30T11:09:15+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/45077-2\/"]}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e","name":"\u6e05, \u5b87","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","caption":"\u6e05, \u5b87"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/45077-2\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/45077","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=45077"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/45077\/revisions"}],"predecessor-version":[{"id":93750,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/45077\/revisions\/93750"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=45077"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=45077"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=45077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}