titilambert / pyhydroquebec

DEPRECATED - Get your consumption data from your HydroQuebec account (www.hydroquebec.com)
Apache License 2.0
94 stars 44 forks source link

ERROR: Could not build wheels for multidict #76

Open AnonDev1312 opened 2 years ago

AnonDev1312 commented 2 years ago

I can't install pyhydroquebec, i get the same error every time :(

Failed to build multidict ERROR: Could not build wheels for multidict, which is required to install pyproject.toml-based projects

How can I fix this?

➜  ~ pip install pyhydroquebec
Collecting pyhydroquebec
  Using cached pyhydroquebec-3.0.5.tar.gz (13 kB)
  Preparing metadata (setup.py) ... done
Collecting aiohttp==3.6.2
  Using cached aiohttp-3.6.2-py3-none-any.whl (441 kB)
Collecting cachetools==3.1.1
  Using cached cachetools-3.1.1-py2.py3-none-any.whl (11 kB)
Collecting mqtt-hass-base==0.1.4
  Using cached mqtt-hass-base-0.1.4.tar.gz (6.9 kB)
  Preparing metadata (setup.py) ... done
Collecting PyYAML==5.1.2
  Using cached PyYAML-5.1.2.tar.gz (265 kB)
  Preparing metadata (setup.py) ... done
Collecting beautifulsoup4==4.8.1
  Using cached beautifulsoup4-4.8.1-py3-none-any.whl (101 kB)
Collecting python-dateutil==2.8.0
  Using cached python_dateutil-2.8.0-py2.py3-none-any.whl (226 kB)
Collecting yarl<2.0,>=1.0
  Downloading yarl-1.7.2-cp39-cp39-musllinux_1_1_aarch64.whl (309 kB)
     |████████████████████████████████| 309 kB 3.7 MB/s
Collecting async-timeout<4.0,>=3.0
  Using cached async_timeout-3.0.1-py3-none-any.whl (8.2 kB)
Collecting chardet<4.0,>=2.0
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting multidict<5.0,>=4.5
  Using cached multidict-4.7.6.tar.gz (50 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting attrs>=17.3.0
  Using cached attrs-21.3.0-py2.py3-none-any.whl (61 kB)
Collecting soupsieve>=1.2
  Using cached soupsieve-2.3.1-py3-none-any.whl (37 kB)
Collecting paho-mqtt==1.4.0
  Using cached paho-mqtt-1.4.0.tar.gz (88 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: six>=1.5 in /usr/lib/python3.9/site-packages (from python-dateutil==2.8.0->pyhydroquebec) (1.16.0)
Requirement already satisfied: idna>=2.0 in /usr/lib/python3.9/site-packages (from yarl<2.0,>=1.0->aiohttp==3.6.2->pyhydroquebec) (3.3)
Using legacy 'setup.py install' for pyhydroquebec, since package 'wheel' is not installed.
Using legacy 'setup.py install' for mqtt-hass-base, since package 'wheel' is not installed.
Using legacy 'setup.py install' for PyYAML, since package 'wheel' is not installed.
Using legacy 'setup.py install' for paho-mqtt, since package 'wheel' is not installed.
Building wheels for collected packages: multidict
  Building wheel for multidict (pyproject.toml) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 /usr/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmpr8s0xhyf
       cwd: /tmp/pip-install-roj1mjwa/multidict_c6453de3220f4e6f80404e80fa962314
  Complete output (37 lines):
  **********************
  * Accellerated build *
  **********************
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-aarch64-3.9
  creating build/lib.linux-aarch64-3.9/multidict
  copying multidict/__init__.py -> build/lib.linux-aarch64-3.9/multidict
  copying multidict/_multidict_base.py -> build/lib.linux-aarch64-3.9/multidict
  copying multidict/_compat.py -> build/lib.linux-aarch64-3.9/multidict
  copying multidict/_multidict_py.py -> build/lib.linux-aarch64-3.9/multidict
  copying multidict/_abc.py -> build/lib.linux-aarch64-3.9/multidict
  running egg_info
  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 -> build/lib.linux-aarch64-3.9/multidict
  copying multidict/_multidict.c -> build/lib.linux-aarch64-3.9/multidict
  copying multidict/py.typed -> build/lib.linux-aarch64-3.9/multidict
  creating build/lib.linux-aarch64-3.9/multidict/_multilib
  copying multidict/_multilib/defs.h -> build/lib.linux-aarch64-3.9/multidict/_multilib
  copying multidict/_multilib/dict.h -> build/lib.linux-aarch64-3.9/multidict/_multilib
  copying multidict/_multilib/istr.h -> build/lib.linux-aarch64-3.9/multidict/_multilib
  copying multidict/_multilib/iter.h -> build/lib.linux-aarch64-3.9/multidict/_multilib
  copying multidict/_multilib/pair_list.h -> build/lib.linux-aarch64-3.9/multidict/_multilib
  copying multidict/_multilib/views.h -> build/lib.linux-aarch64-3.9/multidict/_multilib
  running build_ext
  creating build/temp.linux-aarch64-3.9
  creating build/temp.linux-aarch64-3.9/multidict
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -g -fno-semantic-interposition -g -fno-semantic-interposition -g -fno-semantic-interposition -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/include/python3.9 -c multidict/_multidict.c -o build/temp.linux-aarch64-3.9/multidict/_multidict.o -O2 -std=c99 -Wall -Wsign-compare -Wconversion -fno-strict-aliasing -pedantic
  error: command 'gcc' failed: No such file or directory
  ----------------------------------------
  ERROR: Failed building wheel for multidict
Failed to build multidict
ERROR: Could not build wheels for multidict, which is required to install pyproject.toml-based projects