Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
web3
#1
Hi, when installing web3 module i've got the following error (C+++ is already installed):


ERROR: Failed building wheel for bitarray
ERROR: Command errored out with exit status 1:
command: 'F:\ana\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\hp\\AppData\\Local\\Temp\\pip-install-6g5ufi0m\\bitarray\\setup.py'"'"'; __file__='"'"'C:\\Users\\hp\\AppData\\Local\\Temp\\pip-install-6g5ufi0m\\bitarray\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\hp\AppData\Local\Temp\pip-record-jsb15jfv\install-record.txt' --single-version-externally-managed --compile --install-headers 'F:\ana\Include\bitarray'
cwd: C:\Users\hp\AppData\Local\Temp\pip-install-6g5ufi0m\bitarray\
Complete output (13 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
creating build\lib.win-amd64-3.8\bitarray
copying bitarray\test_bitarray.py -> build\lib.win-amd64-3.8\bitarray
copying bitarray\test_util.py -> build\lib.win-amd64-3.8\bitarray
copying bitarray\util.py -> build\lib.win-amd64-3.8\bitarray
copying bitarray\__init__.py -> build\lib.win-amd64-3.8\bitarray
running build_ext
building 'bitarray._bitarray' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visua...ild-tools/
Reply
#2
Download and install bitarray
So for you it will be this version.
pip install bitarray‑2.1.0‑cp38‑cp38‑win_amd64.whl
Then try install again.

It's preferably to use virtual environment as it install a lot of packages.
venv is build into Python now so it easy to use.
(May-10-2021, 05:12 PM)adam2001 Wrote: (C+++ is already installed):
It's not se easy as most have version as Python 3.8 is build with,therefore is Wheel as posted over and easier solution.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  web3 method rembrandt 3 2,873 Jun-04-2019, 05:43 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020