Error while downloading pyqt5.. Using the latest version of pip and sip version 15.0.2 (Using Mac Os Big Sur 11.5.2-apple silicon)

Viewed 175
ERROR: Command errored out with exit status 1:
         command: /Users/siddhantsrivastava/Desktop/PROGRAMMING/PythonProjects/AI_Assistant/bin/python /Users/siddhantsrivastava/Desktop/PROGRAMMING/PythonProjects/AI_Assistant/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/lm/1n6xwbk14939ct0z6xl1qbvw0000gn/T/tmpkrnkoe2y
             cwd: /private/var/folders/lm/1n6xwbk14939ct0z6xl1qbvw0000gn/T/pip-install-ppgn_c8e/pyqt5_45bc8def44524a95a74a079d41ea15ba
        Complete output (29 lines):
        Traceback (most recent call last):
          File "/Users/siddhantsrivastava/Desktop/PROGRAMMING/PythonProjects/AI_Assistant/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 143, in prepare_metadata_for_build_wheel
            hook = backend.prepare_metadata_for_build_wheel
        AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel' 

Trying to install pyqt5 using pip3 with command pip3 install pyqt5, getting me to this error ...other solutions suggest me to upgrade pip to the latest version.done that still givingme this error? what to do now?

0 Answers
Related