mukulhase / WebWhatsapp-Wrapper

An API for sending and receiving messages over web.whatsapp [Working as of 18th May 2018]
https://webwhatsapi.readthedocs.io/en/latest/
MIT License
2.02k stars 796 forks source link

error: Microsoft Visual C++ 14.0 or greater is required #1161

Open Hendroarifin opened 2 years ago

Hendroarifin commented 2 years ago

Collecting python-dateutil>=2.6.0 Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) Requirement already satisfied: selenium>=3.4.3 in f:\python\wa_messenger\env\lib\site-packages (from -r requirements/base.txt (line 2)) (3.12.0) Collecting six>=1.10.0 Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting python-axolotl>=0.2.3 Using cached python_axolotl-0.2.3-py3-none-any.whl (76 kB) Collecting cryptography>=2.9.2 Using cached cryptography-37.0.3-cp36-abi3-win_amd64.whl (2.4 MB) Collecting typing>=3.7.4.1 Using cached typing-3.7.4.3.tar.gz (78 kB) Preparing metadata (setup.py) ... done Collecting numpy>=1.18.4 Using cached numpy-1.22.4-cp310-cp310-win_amd64.whl (14.7 MB) Collecting python-magic>=0.4.18 Using cached python_magic-0.4.27-py2.py3-none-any.whl (13 kB) Collecting python-resize-image==1.1.19 Using cached python_resize_image-1.1.19-py2.py3-none-any.whl (8.4 kB) Requirement already satisfied: Pillow>=7.1.2 in f:\python\wa_messenger\env\lib\site-packages (from -r requirements/base.txt (line 10)) (9.1.1) Requirement already satisfied: requests>=2.19.1 in f:\python\wa_messenger\env\lib\site-packages (from python-resize-image==1.1.19->-r requirements/base.txt (line 9)) (2.28.0) Collecting protobuf>=3.0.0.b2 Using cached protobuf-4.21.1-cp310-abi3-win_amd64.whl (524 kB) Collecting python-axolotl-curve25519>=0.4.1 Using cached python-axolotl-curve25519-0.4.1.post2.tar.gz (79 kB) Preparing metadata (setup.py) ... done Collecting cffi>=1.12 Using cached cffi-1.15.0-cp310-cp310-win_amd64.whl (180 kB) Collecting pycparser Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB) Requirement already satisfied: idna<4,>=2.5 in f:\python\wa_messenger\env\lib\site-packages (from requests>=2.19.1->python-resize-image==1.1.19->-r requirements/base.txt (line 9)) (2.7) Requirement already satisfied: certifi>=2017.4.17 in f:\python\wa_messenger\env\lib\site-packages (from requests>=2.19.1->python-resize-image==1.1.19->-r requirements/base.txt (line 9)) (2022.6.15) Requirement already satisfied: urllib3<1.27,>=1.21.1 in f:\python\wa_messenger\env\lib\site-packages (from requests>=2.19.1->python-resize-image==1.1.19->-r requirements/base.txt (line 9)) (1.24.3) Requirement already satisfied: charset-normalizer~=2.0.0 in f:\python\wa_messenger\env\lib\site-packages (from requests>=2.19.1->python-resize-image==1.1.19->-r requirements/base.txt (line 9)) (2.0.12) Using legacy 'setup.py install' for typing, since package 'wheel' is not installed. Using legacy 'setup.py install' for python-axolotl-curve25519, since package 'wheel' is not installed. Installing collected packages: python-axolotl-curve25519, typing, six, python-magic, pycparser, protobuf, numpy, python-resize-image, python-dateutil, cffi, cryptography, python-axolotl Running setup.py install for python-axolotl-curve25519 ... error error: subprocess-exited-with-error

× Running setup.py install for python-axolotl-curve25519 did not run successfully. │ exit code: 1 ╰─> [7 lines of output] F:\PYTHON\wa_messenger\env\lib\site-packages\setuptools\dist.py:487: UserWarning: Normalizing '0.4.1-2' to '0.4.1.post2' warnings.warn(tmpl.format(**locals())) running install running build running build_ext building 'axolotl_curve25519' 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: legacy-install-failure

× Encountered error while trying to install package. ╰─> python-axolotl-curve25519

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.

help me please

s1223 commented 1 year ago

just download and install it (https://visualstudio.microsoft.com/visual-cpp-build-tools/)