a5525510 2023-05-04 00:34 采纳率: 42.9%
浏览 10

安装python package失败

安装pytyhon psutil 失败


Looking in indexes: https://pypi.douban.com/simple/
Collecting psutil
  Downloading https://pypi.doubanio.com/packages/3d/7d/d05864a69e452f003c0d77e728e155a89a2a26b09e64860ddd70ad64fb26/psutil-5.9.4.tar.gz (485kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
    Preparing wheel metadata: started
    Preparing wheel metadata: finished with status 'error'
    Complete output from command E:\代码\venv\Scripts\python.exe E:\代码\venv\lib\site-packages\pip-19.0.3-py3.7.egg\pip\_vendor\pep517\_in_process.py prepare_metadata_for_build_wheel C:\Users\a5525\AppData\Local\Temp\tmp2d_oi1sk:
    running dist_info
    creating C:\Users\a5525\AppData\Local\Temp\pip-install-x32qmqu_\psutil\pip-wheel-metadata\psutil.egg-info
    writing C:\Users\a5525\AppData\Local\Temp\pip-install-x32qmqu_\psutil\pip-wheel-metadata\psutil.egg-info\PKG-INFO
    writing dependency_links to C:\Users\a5525\AppData\Local\Temp\pip-install-x32qmqu_\psutil\pip-wheel-metadata\psutil.egg-info\dependency_links.txt
    writing requirements to C:\Users\a5525\AppData\Local\Temp\pip-install-x32qmqu_\psutil\pip-wheel-metadata\psutil.egg-info\requires.txt
    writing top-level names to C:\Users\a5525\AppData\Local\Temp\pip-install-x32qmqu_\psutil\pip-wheel-metadata\psutil.egg-info\top_level.txt
    writing manifest file 'C:\Users\a5525\AppData\Local\Temp\pip-install-x32qmqu_\psutil\pip-wheel-metadata\psutil.egg-info\SOURCES.txt'
    reading manifest file 'C:\Users\a5525\AppData\Local\Temp\pip-install-x32qmqu_\psutil\pip-wheel-metadata\psutil.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'C:\Users\a5525\AppData\Local\Temp\pip-install-x32qmqu_\psutil\pip-wheel-metadata\psutil.egg-info\SOURCES.txt'
    creating 'C:\Users\a5525\AppData\Local\Temp\pip-install-x32qmqu_\psutil\pip-wheel-metadata\psutil.dist-info'
    Error in sitecustomize; set PYTHONVERBOSE for traceback:
    SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xb8 in position 0: invalid start byte (sitecustomize.py, line 7)
    error: invalid command 'bdist_wheel'
    
    ----------------------------------------

Command "E:\代码\venv\Scripts\python.exe E:\代码\venv\lib\site-packages\pip-19.0.3-py3.7.egg\pip\_vendor\pep517\_in_process.py prepare_metadata_for_build_wheel C:\Users\a5525\AppData\Local\Temp\tmp2d_oi1sk" failed with error code 1 in C:\Users\a5525\AppData\Local\Temp\pip-install-x32qmqu_\psutil

  • 写回答

1条回答 默认 最新

报告相同问题?

问题事件

  • 修改了问题 5月4日
  • 创建了问题 5月4日

悬赏问题

  • ¥20 verilog状态机方法流水灯
  • ¥15 pandas代码实现不了意图
  • ¥15 GD32H7 从存储器到外设SPI传输数据无法重复启用DMA
  • ¥25 LT码在高斯信道下的误码率仿真
  • ¥45 渲染完成之后将物体的材质贴图改变,自动化进行这个操作
  • ¥15 yolov5目标检测并显示目标出现的时间或视频帧
  • ¥15 电视版的优酷可以设置电影连续播放吗?
  • ¥50 复现论文;matlab代码编写
  • ¥30 echarts 3d地图怎么实现一进来页面散点数据和卡片一起轮播
  • ¥15 数字图像的降噪滤波增强