Error failed building wheel for yarl

🐞 Describe the bug After yarl 1.6.1 was released our CI build started to fail to install yarl because Failed building wheel for yarl; gcc in turn failed because of a missing? file gcc: error: yarl/...

🐞 Describe the bug

After yarl 1.6.1 was released our CI build started to fail to install yarl because Failed building wheel for yarl; gcc in turn failed because of a missing? file gcc: error: yarl/_quoting_c.c: No such file or directory

💡 To Reproduce

Build the following docker file:

FROM jupyter/scipy-notebook:66c99628f4b8

RUN echo "aiohttp==3.6.2" > /opt/conda/lib/python3.7/site-packages/requirements.prod.txt
RUN python3 -m pip install --no-cache-dir -r /opt/conda/lib/python3.7/site-packages/requirements.prod.txt

💡 Expected behavior

Yarl is installed

📋 Logs/tracebacks

Here is the output from pip install:

Step 3/3 : RUN python3 -m pip install --no-cache-dir -r /opt/conda/lib/python3.7/site-packages/requirements.prod.txt
 ---> Running in 954ede6b1b98
Collecting aiohttp==3.6.2 (from -r /opt/conda/lib/python3.7/site-packages/requirements.prod.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/e3/71/6000eacb8923d9fd07aa8784a8fab4f022ae697f3c2456d7dca75c743dd6/aiohttp-3.6.2-cp37-cp37m-manylinux1_x86_64.whl (1.2MB)
Requirement already satisfied: chardet<4.0,>=2.0 in /opt/conda/lib/python3.7/site-packages (from aiohttp==3.6.2->-r /opt/conda/lib/python3.7/site-packages/requirements.prod.txt (line 1)) (3.0.4)
Requirement already satisfied: attrs>=17.3.0 in /opt/conda/lib/python3.7/site-packages (from aiohttp==3.6.2->-r /opt/conda/lib/python3.7/site-packages/requirements.prod.txt (line 1)) (19.1.0)
Collecting multidict<5.0,>=4.5 (from aiohttp==3.6.2->-r /opt/conda/lib/python3.7/site-packages/requirements.prod.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/85/b8/a9fe777dab4c6aa067b516a34fe995213707e490ea1e72f823949a830a6a/multidict-4.7.6-cp37-cp37m-manylinux1_x86_64.whl (149kB)
Collecting async-timeout<4.0,>=3.0 (from aiohttp==3.6.2->-r /opt/conda/lib/python3.7/site-packages/requirements.prod.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/e1/1e/5a4441be21b0726c4464f3f23c8b19628372f606755a9d2e46c187e65ec4/async_timeout-3.0.1-py3-none-any.whl
Collecting yarl<2.0,>=1.0 (from aiohttp==3.6.2->-r /opt/conda/lib/python3.7/site-packages/requirements.prod.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/d7/16/de7f1a8bee0abe00478bef64c217ad2656b9b33a483e8e0b980250e2a850/yarl-1.6.1.tar.gz (116kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
    Preparing wheel metadata: started
    Preparing wheel metadata: finished with status 'done'
Requirement already satisfied: idna>=2.0 in /opt/conda/lib/python3.7/site-packages (from yarl<2.0,>=1.0->aiohttp==3.6.2->-r /opt/conda/lib/python3.7/site-packages/requirements.prod.txt (line 1)) (2.8)
Collecting typing-extensions>=3.7.4; python_version < "3.8" (from yarl<2.0,>=1.0->aiohttp==3.6.2->-r /opt/conda/lib/python3.7/site-packages/requirements.prod.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/60/7a/e881b5abb54db0e6e671ab088d079c57ce54e8a01a3ca443f561ccadb37e/typing_extensions-3.7.4.3-py3-none-any.whl
Building wheels for collected packages: yarl
  Building wheel for yarl (PEP 517): started
  Building wheel for yarl (PEP 517): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /opt/conda/bin/python3 /opt/conda/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpi4r33xjh
       cwd: /tmp/pip-install-kxqtnjde/yarl
  Complete output (39 lines):
  **********************
  * Accellerated build *
  **********************
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.7
  creating build/lib.linux-x86_64-3.7/yarl
  copying yarl/_quoting_py.py -> build/lib.linux-x86_64-3.7/yarl
  copying yarl/_url.py -> build/lib.linux-x86_64-3.7/yarl
  copying yarl/__init__.py -> build/lib.linux-x86_64-3.7/yarl
  copying yarl/_quoting.py -> build/lib.linux-x86_64-3.7/yarl
  running egg_info
  writing yarl.egg-info/PKG-INFO
  writing dependency_links to yarl.egg-info/dependency_links.txt
  writing requirements to yarl.egg-info/requires.txt
  writing top-level names to yarl.egg-info/top_level.txt
  reading manifest file 'yarl.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  warning: no previously-included files matching '*.cache' found anywhere in distribution
  warning: no files found matching 'yarl/_quoting_c.c'
  warning: no previously-included files found matching 'yarl/*.html'
  warning: no previously-included files found matching 'yarl/*.so'
  warning: no previously-included files found matching 'yarl/*.pyd'
  no previously-included directories found matching 'docs/_build'
  writing manifest file 'yarl.egg-info/SOURCES.txt'
  copying yarl/__init__.pyi -> build/lib.linux-x86_64-3.7/yarl
  copying yarl/_quoting_c.pyi -> build/lib.linux-x86_64-3.7/yarl
  copying yarl/_quoting_c.pyx -> build/lib.linux-x86_64-3.7/yarl
  copying yarl/py.typed -> build/lib.linux-x86_64-3.7/yarl
  running build_ext
  building 'yarl._quoting_c' extension
  creating build/temp.linux-x86_64-3.7
  creating build/temp.linux-x86_64-3.7/yarl
  gcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/opt/conda/include/python3.7m -c yarl/_quoting_c.c -o build/temp.linux-x86_64-3.7/yarl/_quoting_c.o
  gcc: error: yarl/_quoting_c.c: No such file or directory
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for yarl
  Running setup.py clean for yarl
Failed to build yarl
ERROR: Could not build wheels for yarl which use PEP 517 and cannot be installed directly
The command '/bin/sh -c python3 -m pip install --no-cache-dir -r /opt/conda/lib/python3.7/site-packages/requirements.prod.txt' returned a non-zero code: 1

📋 Your version of the Python

$ python --version
Python 3.7.3

📋 Your version of the aiohttp/yarl/multidict distributions

Not applicable, trying to install aiohttp==3.6.2

📋 Additional context

Я обновил Python до 3.11 и хотел установить библиотеку Aiogram но получаю такую ошибку

note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for multidict
  Building wheel for yarl (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for yarl (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [37 lines of output]
      C:UsersUSERAppDataLocalTemppip-build-env-r8x1eh1soverlayLibsite-packagessetuptoolsconfigsetupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
        warnings.warn(msg, warning_class)
      **********************
      * Accelerated build *
      **********************
      running bdist_wheel
      running build
      running build_py
      creating build
      creating buildlib.win-amd64-cpython-311
      creating buildlib.win-amd64-cpython-311yarl
      copying yarl_quoting.py -> buildlib.win-amd64-cpython-311yarl
      copying yarl_quoting_py.py -> buildlib.win-amd64-cpython-311yarl
      copying yarl_url.py -> buildlib.win-amd64-cpython-311yarl
      copying yarl__init__.py -> buildlib.win-amd64-cpython-311yarl
      running egg_info
      writing yarl.egg-infoPKG-INFO
      writing dependency_links to yarl.egg-infodependency_links.txt
      writing requirements to yarl.egg-inforequires.txt
      writing top-level names to yarl.egg-infotop_level.txt
      reading manifest file 'yarl.egg-infoSOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no previously-included files matching '*.pyc' found anywhere in distribution
      warning: no previously-included files matching '*.cache' found anywhere in distribution
      warning: no previously-included files found matching 'yarl*.html'
      warning: no previously-included files found matching 'yarl*.so'
      warning: no previously-included files found matching 'yarl*.pyd'
      no previously-included directories found matching 'docs_build'
      adding license file 'LICENSE'
      writing manifest file 'yarl.egg-infoSOURCES.txt'
      copying yarl__init__.pyi -> buildlib.win-amd64-cpython-311yarl
      copying yarl_quoting_c.pyi -> buildlib.win-amd64-cpython-311yarl
      copying yarl_quoting_c.pyx -> buildlib.win-amd64-cpython-311yarl
      copying yarlpy.typed -> buildlib.win-amd64-cpython-311yarl
      running build_ext
      building 'yarl._quoting_c' extension
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for yarl
Failed to build frozenlist multidict yarl
ERROR: Could not build wheels for frozenlist, multidict, yarl, which is required to install pyproject.toml-based projects

Hello! Problem in the title.

(Bot) C:  pycharmProjects  Bot & GT; Pip Install -u Aiogram
Collecting Aiogram
 USING CACHED AIOGRAM-2.10.1-PY3-NONE-ANY.WHL (163 KB)
Requirement Already Satisfied, Skipping Upgrade: Certifi & GT; = 2019.3.9 In C:  Python  Bot  Lib  Site-Packages (From Aiogram) (2020.6.20)
Processing C:  Users  GROB  AppData  Local  Pip  Cache  Wheels  B6  9C  BD  6B99BC6EC9DAB11F3756D31FB8506D3ECF07AEA58B6201F539  Aiohttp-3.6.3-PY3-NONE-ANY.WHL
Collecting Babel & GT; = 2.6.0
 USING CACHED BABEL-2.8.0-PY2.PY3-NONE-ANY.WHL (8.6 MB)
Requirement Already Satisfied, Skipping Upgrade: Chardet & lt; 4.0, & gt; = 2.0 in C:  Python  Bot  lib  Site-Packages (from Aiohttp & lt; 4.0.0, & gt; = 3.5.4- & gt; aiogram) (3.0. 4
)
Collecting Yarl & Lt; 1.6.0, & gt; = 1.0
 Using Cached Yarl-1.5.1.tar.gz (173 Kb)
 Installing Build Dependencies ... Done
 Getting Requirements to Build Wheel ... Done
  Preparing Wheel Metadata ... Done
Collecting MultiDict & LT; 5.0, & GT; = 4.5
 Using Cached MultiDict-4.7.6.tar.gz (50 KB)
 Installing Build Dependencies ... Done
 Getting Requirements to Build Wheel ... Done
  Preparing Wheel Metadata ... Done
Collecting Async-Timeout & LT; 4.0, & gt; = 3.0
 Using Cached Async_Timeout-3.0.1-Py3-none-Any.whl (8.2 Kb)
Collecting ATTRS & GT; = 17.3.0
 USING CACHED ATTRS-20.2.0-PY2.PY3-NONE-ANY.WHL (48 KB)
Collecting Pytz & GT; = 2015.7
 USING CACHED PYTZ-2020.1-PY2.PY3-NONE-ANY.WHL (510 KB)
REQUIEMENT ALREADY SATISFIED, SKIPPING UPGRADE: IDNA & GT; = 2.0 in C:  Python  Bot  Lib  Site-Packages (from Yarl & LT; 1.6.0, & gt; = 1.0- & gt; Aiohttp & lt; 4.0.0, & gt; = 3.5. 4- & gt; aiogr
AM) (2.10)
Building Wheels for Collected Packages: Yarl, Multidict
 Building Wheel for Yarl (PEP 517) ... error
 Error: Command Erroored Out with Exit Status 1:
  Command: 'C:  Python  Bot  scripts  python.exe' 'C:  Python  Bot  Lib  Site-Packages  Pip  _Vendor  Pep517  _in_process.py' Build_Wheel 'C:  Users  GROB  APPD
ATA  Local  Temp  TMPKK7EFGAJ '
    CWD: C:  Users  GROB  APPDATA  Local  Temp  Pip-Install-Fvphy8bh  Yarl
 COMPLETE OUTPUT (35 LINES):
 **********************
 * AccelleRated Build *
 **********************
 Running BDIST_WHEEL
 Running Build
 Running Build_py.
 Creating Build
 Creating Build  Lib.Win-AMD64-3.9
 Creating Build  Lib.Win-AMD64-3.9  YARL
 Copying Yarl  _Quoting.py - & gt; Build  Lib.win-AMD64-3.9  YARL
 Copying Yarl  _quoting_py.py - & gt; Build  Lib.win-AMD64-3.9  YARL
 Copying Yarl  _URL.PY - & gt; Build  Lib.win-AMD64-3.9  YARL
 Copying Yarl  __ init__.py - & gt; Build  Lib.win-AMD64-3.9  YARL
 Running Egg_info.
 Writing Yarl.egg-info  pkg-info
 Writing Dependency_Links to Yarl.egg-info  dependency_links.txt
 Writing Requirements To Yarl.egg-Info  Requires.txt
 Writing Top-Level Names to Yarl.egg-info  top_level.txt
 Reading Manifest File 'Yarl.egg-Info  Sources.txt'
 READING MANIFEST TEMPLATE 'MANIFEST.IN'
 Warning: No Previously-Included Files Matching '* .pyc' Found Anywhere in Distribution
 Warning: No Previously-Included Files Matching '* .cache' Found Anywhere in Distribution
 Warning: No Previously-Included Files Found Matching 'Yarl  *. HTML'
 Warning: No Previously-Included Files Found Matching 'Yarl  *. So'
 Warning: No Previously-Included Files Found Matching 'Yarl  *. Pyd'
 NO Previously-Included Directories Found Matching 'Docs  _Build'
 Writing Manifest File 'Yarl.egg-Info  Sources.txt'
 Copying Yarl  __ init __. Pyi - & gt; Build  Lib.win-AMD64-3.9  YARL
 Copying Yarl  _quoting_c.c - & gt; Build  Lib.win-AMD64-3.9  YARL
 Copying yarl  _quoting_c.pyi - & gt; Build  Lib.win-AMD64-3.9  YARL
 Copying Yarl  _quoting_c.pyx - & gt; Build  Lib.win-AMD64-3.9  YARL
 Copying Yarl  Py.Typed - & gt; Build  Lib.win-AMD64-3.9  YARL
 Running Build_EXT.
 Building 'yarl._quoting_c' extension
 Error: Microsoft Visual C++ 14.0 or Greater Is Required. Get it WITH "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-
BUILD-TOOLS /
 ------------------------------------------
 Error: Failed Building Wheel for Yarl
 Building Wheel for Multidict (PEP 517) ... error
 Error: Command Erroored Out with Exit Status 1: 
Command: 'C:  Python  Bot  scripts  python.exe' 'C:  Python  Bot  Lib  Site-Packages  Pip  _Vendor  Pep517  _in_process.py' Build_Wheel 'C:  Users  GROB  APPD
ATA  LOCAL  TEMP  TMPHTV9219G '
    CWD: C:  Users  GROB  APPDATA  LOCAL  TEMP  PIP-Install-Fvphy8bh  Multidict
 COMPLETE OUTPUT (40 Lines):
 **********************
 * AccelleRated Build *
 **********************
 Running BDIST_WHEEL
 Running Build
 Running Build_py.
 Creating Build
 Creating Build  Lib.Win-AMD64-3.9
 Creating Build  Lib.Win-AMD64-3.9  Multidict
 Copying Multidict  _abc.py - & gt; Build  lib.win-AMD64-3.9  Multidict
 Copying MultiCt  _compat.py - & gt; Build  lib.win-AMD64-3.9  Multidict
 Copying Multidict  _multidict_base.py - & gt; Build  lib.win-AMD64-3.9  Multidict
 Copying Multidict  _multidict_py.py - & gt; Build  lib.win-AMD64-3.9  Multidict
 Copying Multidict  __ init__.py - & gt; Build  lib.win-AMD64-3.9  Multidict
 Running Egg_info.
 Writing Multidict.egg-info  pkg-info
 Writing Dependency_Links to Multidict.egg-info  dependency_links.txt
 Writing Top-Level Names to Multidict.egg-info  top_level.txt
 Reading Manifest File 'Multidict.egg-info  Sources.txt'
 READING MANIFEST TEMPLATE 'MANIFEST.IN'
 Warning: No Previously-Included Files Matching '* .pyc' Found Anywhere in Distribution
 Warning: No Previously-Included Files Found Matching 'Multidict  _multidict.html'
 Warning: No Previously-Included Files Found Matching 'Multidict  *. So'
 Warning: No Previously-Included Files Found Matching 'Multidict  *. Pyd'
 Warning: No Previously-Included Files Found Matching 'Multidict  *. Pyd'
 NO Previously-Included Directories Found Matching 'Docs  _Build'
 Writing Manifest File 'Multidict.egg-Info  Sources.txt'
 Copying Multidict  __ init __. Pyi - & gt; Build  lib.win-AMD64-3.9  Multidict
 Copying Multidict  _multidict.c - & gt; Build  lib.win-AMD64-3.9  Multidict
 Copying Multidict  Py.Typed - & gt; Build  lib.win-AMD64-3.9  Multidict
 Creating Build  Lib.Win-AMD64-3.9  Multidict  _multilib
 Copying MultiDict  _multilib  Defs.h - & gt; Build  Lib.win-AMD64-3.9  Multidict  _multilib
 Copying MultiCt  _multilib  Dict.h - & gt; Build  Lib.win-AMD64-3.9  Multidict  _multilib
 Copying Multidict  _multilib  Istr.h - & gt; Build  Lib.win-AMD64-3.9  Multidict  _multilib
 Copying MultiCt  _multilib  Iter.h - & gt; Build  Lib.win-AMD64-3.9  Multidict  _multilib
 Copying MultiDict  _multilib  pair_list.h - & gt; Build  Lib.win-AMD64-3.9  Multidict  _multilib
 Copying MultiDict  _multilib  Views.h - & gt; Build  Lib.win-AMD64-3.9  Multidict  _multilib
 Running Build_EXT.
 Building 'MultiCt._multidict' Extension
 Error: Microsoft Visual C++ 14.0 or Greater Is Required. Get it WITH "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-
BUILD-TOOLS /
 ------------------------------------------
 Error: Failed Building Wheel for Multidict
FAILED TO BUILD YARL MULTITICT
ERROR: COULD NOT BUILD WHICH USE PEP 517 AND CANNOT BE INSTALLED DIRECTLY

Installing Microsoft Visual C++ does not help, run the installation directly there in the terminal and the same error. Someone have options for solving this problem?

p.s. When choosing an interpriter Python version 3.7 No problem.


Answer 1

Try to put libraries:


pip install -u yarl == 1.4.2


Pip Install Wheel


helped me with Python version 3.8.6.

Created on 2020-07-17 18:18 by Mariatta, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (6)
msg373843 — (view) Author: Mariatta (Mariatta) * (Python committer) Date: 2020-07-17 18:18
We're seeing travis CI build failure against the nightly Python build v3.10.0a0.

Build log: https://travis-ci.org/github/python/blurb_it/jobs/707532881

Last few lines of the build log:


In file included from /opt/python/3.10-dev/include/python3.10/unicodeobject.h:1026:0,
                   from /opt/python/3.10-dev/include/python3.10/Python.h:97,
                   from yarl/_quoting.c:4:
  /opt/python/3.10-dev/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
   Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
                                            ^
  yarl/_quoting.c: In function ‘__Pyx_decode_c_bytes’:
  yarl/_quoting.c:9996:9: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
           return PyUnicode_FromUnicode(NULL, 0);
           ^
  In file included from /opt/python/3.10-dev/include/python3.10/unicodeobject.h:1026:0,
                   from /opt/python/3.10-dev/include/python3.10/Python.h:97,
                   from yarl/_quoting.c:4:
  /opt/python/3.10-dev/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
   Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
                                            ^
  error: command '/usr/bin/gcc' failed with exit code 1
  ----------------------------------------
  ERROR: Failed building wheel for yarl


I'm not familiar with that part of codebase. If anyone has any insight, it would be appreciated. Thanks.
msg373844 — (view) Author: Mariatta (Mariatta) * (Python committer) Date: 2020-07-17 18:20
Adding Victor Stinner to nosy
msg373893 — (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2020-07-18 09:29
blurb-it imports aiohttp which imports yarl. It might be a duplicate of https://github.com/aio-libs/yarl/issues/459
msg374771 — (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2020-08-03 23:45
yarl is a third party project, you should report the issue to https://github.com/aio-libs/yarl/

> blurb-it imports aiohttp which imports yarl. It might be a duplicate of https://github.com/aio-libs/yarl/issues/459

Andrew Svetlov wrote "yarl 1.5.0 will be published with generated C files made by Cython 0.29.21"

At https://pypi.org/project/yarl/ I can see version 1.5.1.

I guess that the issue is now fixed.
msg374772 — (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2020-08-03 23:46
> I'm not familiar with that part of codebase. If anyone has any insight, it would be appreciated. Thanks.

See PEP 623 if you're curious ;-)
msg374786 — (view) Author: Inada Naoki (methane) * (Python committer) Date: 2020-08-04 02:32
For the record, deprecation warning is just a waring. Build failure is coming from here:

```
  yarl/_quoting.c:1245:23: error: lvalue required as left operand of assignment
           Py_SIZE(list) = len+1;
```

It is not relating PEP 623, and it has been fixed already.
History
Date User Action Args
2022-04-11 14:59:33 admin set github: 85498
2020-08-04 02:32:03 methane set nosy:
+ methane
messages:
+ msg374786
2020-08-03 23:46:21 vstinner set messages:
+ msg374772
2020-08-03 23:45:13 vstinner set status: open -> closed
resolution: third party
messages:
+ msg374771

stage: resolved

2020-07-18 09:29:48 ned.deily set nosy:
+ asvetlov, ned.deily
messages:
+ msg373893
2020-07-17 18:20:09 Mariatta set nosy:
+ vstinner
messages:
+ msg373844
2020-07-17 18:18:11 Mariatta create

EDIT: I asked on GitHub and they helped, I needed to downgrade to Python 3.8 instead of 3.9 because 3.8 has «wheels», which 3.9 doesn’t currently have. Full answer here, in case anyone has the same issue in the future.

I got this error when trying to install discord.py ( ‘py -m pip install -U discord.py’ in cmd), and I got this error message. Not sure what it means, was wondering if anyone could help:

ERROR: Command errored out with exit status 1:
   command: 'D:Pythonpython.exe' 'D:Pythonlibsite-packagespip_vendorpep517_in_process.py' build_wheel 'C:UsersbencrAppDataLocalTemptmph_gglco5'
       cwd: C:UsersbencrAppDataLocalTemppip-install-zt2pk2qyyarl
  Complete output (41 lines):
  **********************
  * Accellerated build *
  **********************
  running bdist_wheel
  running build
  running build_py
  creating build
  creating buildlib.win-amd64-3.9
  creating buildlib.win-amd64-3.9yarl
  copying yarl_quoting.py -> buildlib.win-amd64-3.9yarl
  copying yarl_quoting_py.py -> buildlib.win-amd64-3.9yarl
  copying yarl_url.py -> buildlib.win-amd64-3.9yarl
  copying yarl__init__.py -> buildlib.win-amd64-3.9yarl
  running egg_info
  writing yarl.egg-infoPKG-INFO
  writing dependency_links to yarl.egg-infodependency_links.txt
  writing requirements to yarl.egg-inforequires.txt
  writing top-level names to yarl.egg-infotop_level.txt
  reading manifest file 'yarl.egg-infoSOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  warning: no previously-included files matching '*.cache' found anywhere in distribution
  warning: no previously-included files found matching 'yarl*.html'
  warning: no previously-included files found matching 'yarl*.so'
  warning: no previously-included files found matching 'yarl*.pyd'
  no previously-included directories found matching 'docs_build'
  writing manifest file 'yarl.egg-infoSOURCES.txt'
  copying yarl__init__.pyi -> buildlib.win-amd64-3.9yarl
  copying yarl_quoting_c.c -> buildlib.win-amd64-3.9yarl
  copying yarl_quoting_c.pyi -> buildlib.win-amd64-3.9yarl
  copying yarl_quoting_c.pyx -> buildlib.win-amd64-3.9yarl
  copying yarlpy.typed -> buildlib.win-amd64-3.9yarl
  running build_ext
  building 'yarl._quoting_c' extension
  creating buildtemp.win-amd64-3.9
  creating buildtemp.win-amd64-3.9Release
  creating buildtemp.win-amd64-3.9Releaseyarl
  C:Program Files (x86)Microsoft Visual Studio2019CommunityVCToolsMSVC14.24.28314binHostX86x64cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -ID:Pythoninclude -ID:Pythoninclude -IC:Program Files (x86)Microsoft Visual Studio2019CommunityVCToolsMSVC14.24.28314include /Tcyarl/_quoting_c.c /Fobuildtemp.win-amd64-3.9Releaseyarl/_quoting_c.obj
  _quoting_c.c
  D:Pythonincludepyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directory
  error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX86\x64\cl.exe' failed with exit code 2
  ----------------------------------------
  ERROR: Failed building wheel for yarl
  Building wheel for multidict (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: 'D:Pythonpython.exe' 'D:Pythonlibsite-packagespip_vendorpep517_in_process.py' build_wheel 'C:UsersbencrAppDataLocalTemptmpjj4p5pty'
       cwd: C:UsersbencrAppDataLocalTemppip-install-zt2pk2qymultidict
  Complete output (46 lines):
  **********************
  * Accellerated build *
  **********************
  running bdist_wheel
  running build
  running build_py
  creating build
  creating buildlib.win-amd64-3.9
  creating buildlib.win-amd64-3.9multidict
  copying multidict_abc.py -> buildlib.win-amd64-3.9multidict
  copying multidict_compat.py -> buildlib.win-amd64-3.9multidict
  copying multidict_multidict_base.py -> buildlib.win-amd64-3.9multidict
  copying multidict_multidict_py.py -> buildlib.win-amd64-3.9multidict
  copying multidict__init__.py -> buildlib.win-amd64-3.9multidict
  running egg_info
  writing multidict.egg-infoPKG-INFO
  writing dependency_links to multidict.egg-infodependency_links.txt
  writing top-level names to multidict.egg-infotop_level.txt
  reading manifest file 'multidict.egg-infoSOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  warning: no previously-included files found matching 'multidict_multidict.html'
  warning: no previously-included files found matching 'multidict*.so'
  warning: no previously-included files found matching 'multidict*.pyd'
  warning: no previously-included files found matching 'multidict*.pyd'
  no previously-included directories found matching 'docs_build'
  writing manifest file 'multidict.egg-infoSOURCES.txt'
  copying multidict__init__.pyi -> buildlib.win-amd64-3.9multidict
  copying multidict_multidict.c -> buildlib.win-amd64-3.9multidict
  copying multidictpy.typed -> buildlib.win-amd64-3.9multidict
  creating buildlib.win-amd64-3.9multidict_multilib
  copying multidict_multilibdefs.h -> buildlib.win-amd64-3.9multidict_multilib
  copying multidict_multilibdict.h -> buildlib.win-amd64-3.9multidict_multilib
  copying multidict_multilibistr.h -> buildlib.win-amd64-3.9multidict_multilib
  copying multidict_multilibiter.h -> buildlib.win-amd64-3.9multidict_multilib
  copying multidict_multilibpair_list.h -> buildlib.win-amd64-3.9multidict_multilib
  copying multidict_multilibviews.h -> buildlib.win-amd64-3.9multidict_multilib
  running build_ext
  building 'multidict._multidict' extension
  creating buildtemp.win-amd64-3.9
  creating buildtemp.win-amd64-3.9Release
  creating buildtemp.win-amd64-3.9Releasemultidict
  C:Program Files (x86)Microsoft Visual Studio2019CommunityVCToolsMSVC14.24.28314binHostX86x64cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -ID:Pythoninclude -ID:Pythoninclude -IC:Program Files (x86)Microsoft Visual Studio2019CommunityVCToolsMSVC14.24.28314include /Tcmultidict/_multidict.c /Fobuildtemp.win-amd64-3.9Releasemultidict/_multidict.obj -O2
  _multidict.c
  D:Pythonincludepyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directory
  error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX86\x64\cl.exe' failed with exit code 2
  ----------------------------------------
  ERROR: Failed building wheel for multidict
Failed to build yarl multidict
ERROR: Could not build wheels for yarl, multidict which use PEP 517 and cannot be installed directly

Thanks

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Error failed building wheel for wxpython
  • Error fail to run the game
  • Error failed building wheel for scikit learn
  • Error fail to hook gettickcount metal gear solid v ground zeroes
  • Error failed building wheel for pyzmq

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии