如何在windows10中安装pyzmq python包

2024-04-27 18:54:02 发布

您现在位置:Python中文网/ 问答频道 /正文

当我试图在python中安装pyzmq包时,总是收到以下错误消息

PS C:\python37-32> pip install pyzmq
Failed building wheel for pyzmq
building 'zmq.libzmq' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visu

所以我试着用两种不同的方法来修复它: 选项1:我下载了微软Visual C++ 14——&它不工作 我下载了控制盘“pyzmq-17.0.0-cp37-cp37m-win_amd64.whl”,并试图用pip install命令安装它,但-->;它不起作用

有人能给我一个如何安装软件包的建议吗?那太好了


Tags: installpip消息for错误pyzmqzmqmicrosoft