-3
I am wanting to install the pywhatkit python library by cmd, but when I put the " Pip install pywhatkit" command it downloads and installs to some extent. Follow the information that appears in cmd:
PS C: Users João Pedro> Pip install pywhatkit Collecting pywhatkit
Using cached pywhatkit-3.8-py3-None-any.whl (7.8 kB) Collecting beautifulsoup4
Using cached beautifulsoup4-4.9.3-py3-None-any.whl (115 kB) Collecting soupsieve>1.2
Using cached soupsieve-2.1-py3-None-any.whl (32 kB) Collecting Pillow
Using cached Pillow-8.0.1-cp39-cp39-win_amd64.whl (2.1 MB) Collecting pyautogui
Using cached Pyautogui-0.9.52.tar. gz (55 kB) Collecting pygetwindow>=0.0.5
Using cached Pygetwindow-0.0.9.tar. gz (9.7 kB) Collecting pyscreeze>=0.1.21
Using cached Pyscreeze-0.1.26.tar. gz (23 kB) Collecting Pytweening>=1.0.1
Using cached Pytweening-1.0.3.zip (15 kB) Collecting mouseinfo
Using cached Mouseinfo-0.1.3.tar. gz (10 kB) Collecting pymsgbox
Using cached Pymsgbox-1.0.9.tar. gz (18 kB)
Installing build dependencies ... done
Getting Visas to build wheel ... done
**Preparing wheel metadata ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\joão pedro\appdata\local\programs\python\python39\python.exe' 'c:\users\joão pedro\appdata\local\programs\python\python39\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\João Pedro\AppData\Local\Temp\tmp7cn2sra0'
cwd: C:\Users\João Pedro\AppData\Local\Temp\pip-install-yerfq6kz\pymsgbox_9ed5c5dfd5e041d48e433cfd48e25387
Complete output (14 lines):
Error in sitecustomize; set PYTHONVERBOSE for traceback:
SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xe3 in position 0: unexpected end of data (sitecustomize.py, line 7)
running dist_info
creating C:\Users\João Pedro\AppData\Local\Temp\pip-modern-metadata-lvgd0vdz\PyMsgBox.egg-info
writing C:\Users\João Pedro\AppData\Local\Temp\pip-modern-metadata-lvgd0vdz\PyMsgBox.egg-info\PKG-INFO
writing dependency_links to C:\Users\João Pedro\AppData\Local\Temp\pip-modern-metadata-lvgd0vdz\PyMsgBox.egg-info\dependency_links.txt
writing top-level names to C:\Users\João Pedro\AppData\Local\Temp\pip-modern-metadata-lvgd0vdz\PyMsgBox.egg-info\top_level.txt
writing manifest file 'C:\Users\João Pedro\AppData\Local\Temp\pip-modern-metadata-lvgd0vdz\PyMsgBox.egg-info\SOURCES.txt'
reading manifest file 'C:\Users\João Pedro\AppData\Local\Temp\pip-modern-metadata-lvgd0vdz\PyMsgBox.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.py' under directory 'pymsgbox'
writing manifest file 'C:\Users\João Pedro\AppData\Local\Temp\pip-modern-metadata-lvgd0vdz\PyMsgBox.egg-info\SOURCES.txt'
creating 'C:\Users\João Pedro\AppData\Local\Temp\pip-modern-metadata-lvgd0vdz\PyMsgBox.dist-info'
error: invalid command 'bdist_wheel'**
----------------------------------------
ERROR: Command errored out with Exit status 1: 'c: users joão pedro appdata local Programs python python39 python.exe' 'c: users joão pedro appdata local Programs python python39 lib site-Packages pip_vendor pep517_in_process.py' prepare_metadata_for_build_wheel 'C:Users João Pedro Appdata Local Temp tmp7cn2sra0' Check the logs for full command output.
I would like to know what I must do to solve this problem, I am a beginner in programming and I am learning the program in python. Thanks in advance for your attention.
Thanks for the help, I managed to resolve. Thank you
– Hube
If the answer worked, don’t forget to mark it as "accept". This form helps when only one package fails to install, but it is better to fix the installation by Pip, so the updates and installations of other packages will work as well.
– jsbueno