Failure while installing Python requirements in Windows System - Stack Overflow

I am using pip for installing requirements of my project.Below is the error I get when I run the comma

I am using pip for installing requirements of my project.

Below is the error I get when I run the command pip install -r requirements.txt

_frozenlist.c
C:\Program Files\Python312\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.20.27508\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2

Failed to build frozenlist grpcio

By looking at various answers, I have installed the required Visual C++ build tools

Following are the details of system and App versions I am using

  • Windows version 11
  • Python version 3.12.0
  • Visual Studio Build tools version 2019.
  • Windows 10 SDK and MSVC v142 - VS 2019 C++ x64/x86 build tools. (also tried with windows 11 SDk without any help)

Any pointers on the issue and resolution would be helpful, Thanks!!

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745044947a4608039.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信