当前位置: 首页 > article >正文

安装pandas报错

报错信息:

C:\Users\Jordan>pip install pandas
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/
Collecting pandas
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/3a/6e/6c9c197ec2da861ea8c9c6848f0f887b7563f16e607bc6a35506af677f30/pandas-2.1.2.tar.gz (4.3 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [12 lines of output]
      + meson setup C:\Users\Jordan\AppData\Local\Temp\pip-install-jaye7cfj\pandas_2150e5be7d1b4333a4c580a8e6ed1ceb C:\Users\Jordan\AppData\Local\Temp\pip-install-jaye7cfj\pandas_2150e5be7d1b4333a4c580a8e6ed1ceb\.mesonpy-93xc7z38\build -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --vsenv --native-file=C:\Users\Jordan\AppData\Local\Temp\pip-install-jaye7cfj\pandas_2150e5be7d1b4333a4c580a8e6ed1ceb\.mesonpy-93xc7z38\build\meson-python-native-file.ini
      The Meson build system
      Version: 1.2.1
      Source dir: C:\Users\Jordan\AppData\Local\Temp\pip-install-jaye7cfj\pandas_2150e5be7d1b4333a4c580a8e6ed1ceb
      Build dir: C:\Users\Jordan\AppData\Local\Temp\pip-install-jaye7cfj\pandas_2150e5be7d1b4333a4c580a8e6ed1ceb\.mesonpy-93xc7z38\build
      Build type: native build
      Project name: pandas
      Project version: 2.1.2

      ..\..\meson.build:2:0: ERROR: Could not find C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe

      A full log can be found at C:\Users\Jordan\AppData\Local\Temp\pip-install-jaye7cfj\pandas_2150e5be7d1b4333a4c580a8e6ed1ceb\.mesonpy-93xc7z38\build\meson-logs\meson-log.txt
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

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

参考文章:
https://www.coder.work/article/7916927

谁能想到的python版本的问题!!!
将3.10版本卸载了,安装了python3.7版本的32位的python就可以了。


http://www.kler.cn/news/108945.html

相关文章:

  • [毕设记录]@开题调研:外文博客搬运整理
  • 比较 opacity: 0、visibility: hidden、display: none
  • Hive SQL的编译过程
  • M1安装OpenPLC Editor
  • 2318.不同骰子序列的数目
  • 在Linux上使用Docker实现应用程序打包和分发
  • Day10力扣打卡
  • DIANA算法c++实现
  • Annotorious入门教程:图片注释工具
  • React 生成传递给无障碍属性的唯一 ID
  • 【Git企业开发】第一节.Git 初识
  • 队列(Queue)概念+通过单、双链表来模拟队列+环形队列+OJ面试题(用队列实现栈、用栈实现队列、设计环形队列)
  • [Python]unittest-单元测试
  • Pytorch detach()方法
  • Transformers实战(二)快速入门文本相似度、检索式对话机器人
  • ChatGPT扩展系列之ChatExcel
  • Python连接数据库报错处理
  • 数组OJ题汇总(一)
  • PHP下载文件
  • Linux shell编程学习笔记16:bash中的关联数组
  • 高级深入--day42
  • 缓解大模型幻觉问题的解决方案
  • Python算法例2 判断平方数
  • python基础语法(十一)
  • 【wespeaker】模型ECAPA_TDNN介绍
  • 【MATLAB源码-第58期】基于蛇优化算法(SO)和粒子群优化算法(PSO)的栅格地图路径规划最短路径和适应度曲线对比。
  • 【Flutter】Flutter 中的图片管理 图片优化的最佳实践
  • pandas 统计函数
  • UE5使用Dash插件实现程序化地形场景制作
  • 「实验记录」CS144 Lab0 networking warmup