Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/331.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/django/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 卡在无法为使用PEP 517且无法直接安装的加密构建控制盘_Python_Django - Fatal编程技术网

Python 卡在无法为使用PEP 517且无法直接安装的加密构建控制盘

Python 卡在无法为使用PEP 517且无法直接安装的加密构建控制盘,python,django,Python,Django,升级后的pip命令仍有此消息。我正在尝试安装django allauth。 使用pip install django allauth时生成以下错误 (venv)C:\Users\Tubai\PycharmProjects\food>pip安装django allauth 收集django allauth 使用缓存 已满足要求:Django>=2.0,c:\users\tubai\documents\pycharmprojects\ldjangocrash\venv\lib\site软件包(来自D

升级后的pip命令仍有此消息。我正在尝试安装django allauth。 使用pip install django allauth时生成以下错误 (venv)C:\Users\Tubai\PycharmProjects\food>pip安装django allauth 收集django allauth 使用缓存 已满足要求:Django>=2.0,c:\users\tubai\documents\pycharmprojects\ldjangocrash\venv\lib\site软件包(来自Django allauth)(3.1.7) 正在收集python3 openid>=3.0.8(来自django allauth) 使用缓存 正在收集oauthlib>=0.3.0的请求(来自django allauth) 使用缓存 收集请求(来自django allauth) 使用缓存 正在收集pyjwt[crypto]>=1.7(来自django allauth) 使用缓存 已满足要求:c:\users\tubai\documents\pycharmprojects\ldjangocrash\venv\lib\site软件包中的asgiref=3.2.10(来自Django>=2.0->Django allauth)(3.3.1) 已满足要求:c:\users\tubai\documents\pycharmprojects\ldjangocash\venv\lib\site包中的pytz(来自Django>=2.0->Django allauth)(2021.1) 已满足要求:c:\users\tubai\documents\pycharmprojects\ldjangocash\venv\lib\site包中的sqlparse>=0.2.2(来自Django>=2.0->Django allauth)(0.4.1) 收集defusedxml(来自python3openid>=3.0.8->django-allauth) 使用缓存 正在收集oauthlib>=3.0.0(来自请求oauthlib>=0.3.0->django allauth) 使用缓存 收集chardet=3.0.2(从请求->django allauth) 使用缓存 正在收集urllib3=1.21.1(从请求->django allauth) 使用缓存 收集证书>=2017.4.17(来自请求->django allauth) 使用缓存 收集idna=2.5(从请求->django allauth) 使用缓存 收集密码=3.3.1;extra==“crypto”(来自pyjwt[crypto]>=1.7->django allauth) 使用缓存 正在安装生成依赖项。。。完成 获取构建轮子的需求。。。完成 正在准备控制盘元数据。。。完成 收集cffi>=1.12(来自加密=3.3.1;额外==“crypto”->pyjwt[crypto]>=1.7->django allauth) 使用缓存 正在收集pycparser(来自cffi>=1.12->cryptography=3.3.1;extra==“crypto”->pyjwt[crypto]>=1.7->django allauth) 使用缓存 为收集的包构建轮子:加密 构建加密车轮(PEP 517)。。。错误 从命令C:\Users\Tubai\Documents\PycharmProjects\ldjangocash\venv\Scripts\python.exe C:\Users\Tubai\Documents\PycharmProjects\ldjangocash\venv\lib\site packages\pip完成输出 -19.0.3-py3.7.egg\pip\u供应商\pep517\u in\u流程.py构建\u控制盘C:\Users\Tubai\AppData\Local\Temp\tmpw0h2fd70: 运转的车轮 运行构建 运行build\u py 创建构建 创建build\lib.win-amd64-3.7 创建build\lib.win-amd64-3.7\cryptography 正在复制src\cryptography\exceptions.py->build\lib.win-amd64-3.7\cryptography 正在复制src\cryptography\fernet.py->build\lib.win-amd64-3.7\cryptography 正在复制src\cryptography\utils.py->build\lib.win-amd64-3.7\cryptography 正在复制src\cryptography\u关于\uu.py->build\lib.win-amd64-3.7\cryptography 正在复制src\cryptography\u init\u.py->build\lib.win-amd64-3.7\cryptography 创建build\lib.win-amd64-3.7\cryptography\hazmat 正在复制src\cryptography\hazmat\u der.py->build\lib.win-amd64-3.7\cryptography\hazmat 正在复制src\cryptography\hazmat\u oid.py->build\lib.win-amd64-3.7\cryptography\hazmat 正在复制src\cryptography\hazmat_types.py->build\lib.win-amd64-3.7\cryptography\hazmat 正在复制src\cryptography\hazmat\u init\uu.py->build\lib.win-amd64-3.7\cryptography\hazmat 创建build\lib.win-amd64-3.7\cryptography\x509 正在复制src\cryptography\x509\base.py->build\lib.win-amd64-3.7\cryptography\x509 正在复制src\cryptography\x509\certificate\u transparency.py->build\lib.win-amd64-3.7\cryptography\x509 正在复制src\cryptography\x509\extensions.py->build\lib.win-amd64-3.7\cryptography\x509 正在复制src\cryptography\x509\general\u name.py->build\lib.win-amd64-3.7\cryptography\x509 正在复制src\cryptography\x509\name.py->build\lib.win-amd64-3.7\cryptography\x509 正在复制src\cryptography\x509\ocsp.py->build\lib.win-amd64-3.7\cryptography\x509 正在复制src\cryptography\x509\oid.py->build\lib.win-amd64-3.7\cryptography\x509 正在复制src\cryptography\x509\u init\uu.py->build\lib.win-amd64-3.7\cryptography\x509 创建build\lib.win-amd64-3.7\cryptography\hazmat\backend 正在复制src\cryptography\hazmat\backends\interfaces.py->build\lib.win-amd64-3.7\cryptography\hazmat\backends 正在复制src\cryptography\hazmat\backends\u init\uuu.py->build\lib.win-amd64-3.7\cryptography\hazmat\backends 创建build\lib.win-amd64-3.7\cryptography\hazmat\bindings 正在复制src\cryptography\hazmat\bindings\u init\uupy->build\lib.win-amd64-3.7\cryptography\hazmat\bindings 创建build\lib.win-amd64-3.7\cryptography\hazmat\primitives 复制src\cryptography\hazmat\primitives\cmac.py->build\lib.win-amd64-3.7\cryptography\hazmat\primitives 复制src\cryptography\hazmat\primitives\constant\u time.py->build\lib.win-amd64-3.7\cryptography\hazmat\primitives 复制src\cryptography\hazmat\primitives\hashes.py->build\lib.win-amd64-3.7\cryptography\hazmat\primitives 正在复制src\cryptography\hazmat\primitives\hmac.py->build\lib.win-amd64-3.7\cryptography\hazmat\primitives 复制src\cryptography\hazmat\primitives\keywrap.py->build\lib.win-amd64-3.7\cryptography\hazmat\primitives 正在复制src\cryptography\hazmat\primitives\padding.py->build\lib.win-amd64-3.7\cryptography\hazmat\primitives 正在复制src\cryptography\hazmat\primitives\poly1305.py->build\lib.win-amd64-3.7\cryptography\hazmat\primitives 复制src\cryptography\hazmat\primitives\u asymetric.py->build\lib.win-amd64-3.7\cryptography\hazmat\primitives 复制src\cryptography\hazmat\primitives\u cipheragorithm.py->build\lib.win-amd64-3.7\cryptography\hazmat\primitives 复制src\cryptography\hazmat\primitives\u serialization.py->build\lib.win-amd64-3.7\cryptography\hazmat\primitives 正在复制src\cryptography\hazmat\primitives\u init\u.py->build\lib.win
      =============================DEBUG ASSISTANCE=============================
      If you are seeing a compilation error please try the following steps to
      successfully install cryptography:
      1) Upgrade to the latest pip and try again. This will fix errors for most
         users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
      2) Read https://cryptography.io/en/latest/installation.html for specific
         instructions for your platform.
      3) Check our frequently asked questions for more information:
         https://cryptography.io/en/latest/faq.html
      4) Ensure you have a recent Rust toolchain installed:
         https://cryptography.io/en/latest/installation.html#rust
      5) If you are experiencing issues with Rust for *this release only* you may
         set the environment variable `CRYPTOGRAPHY_DONT_BUILD_RUST=1`.
      =============================DEBUG ASSISTANCE=============================

  error: can't find Rust compiler

  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 n
eed for a Rust compiler.

  To update pip, run:

      pip install --upgrade pip

  and then retry package installation.

  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, rustu
p (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.

  This package requires Rust >=1.41.0.

  ----------------------------------------
  Failed building wheel for cryptography
  Running setup.py clean for cryptography
  Complete output from command C:\Users\Tubai\Documents\PycharmProjects\ldjangocrash\venv\Scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Tubai\\AppData\\Local\\T
emp\\pip-install-fq61nc2j\\cryptography\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" clean --a
ll:
  running clean
  removing 'build\temp.win-amd64-3.7' (and everything under it)
  removing 'build\lib.win-amd64-3.7' (and everything under it)
  'build\bdist.win-amd64' does not exist -- can't clean it
  'build\scripts-3.7' does not exist -- can't clean it
  removing 'build'
  running clean_rust
  error: can't find Rust compiler

  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 n
eed for a Rust compiler.

  To update pip, run:

      pip install --upgrade pip

  and then retry package installation.

  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, rustu
p (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.

  This package requires Rust >=1.41.0.

      =============================DEBUG ASSISTANCE=============================
      If you are seeing a compilation error please try the following steps to
      successfully install cryptography:
      1) Upgrade to the latest pip and try again. This will fix errors for most
         users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
      2) Read https://cryptography.io/en/latest/installation.html for specific
         instructions for your platform.
      3) Check our frequently asked questions for more information:
         https://cryptography.io/en/latest/faq.html
      4) Ensure you have a recent Rust toolchain installed:
         https://cryptography.io/en/latest/installation.html#rust
      5) If you are experiencing issues with Rust for *this release only* you may
         set the environment variable `CRYPTOGRAPHY_DONT_BUILD_RUST=1`.
      =============================DEBUG ASSISTANCE=============================


  ----------------------------------------
  Failed cleaning build dir for cryptography
Failed to build cryptography
Could not build wheels for cryptography which use PEP 517 and cannot be installed directly