Node.js - 我真的需要Visual Studio吗?和Python 2.X或3.X? [英] Node.js - Do I really need Visual Studio ? And Python 2.X or 3.X?

查看:188
本文介绍了Node.js - 我真的需要Visual Studio吗?和Python 2.X或3.X?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在Windows Node.js上安装websockets。

trying to install websockets on windows Node.js.

我获得的原生扩展需要Visual Studio和Python。

I am getting native extensions require Visual Studio and Python.

我的问题是:是否可以采取另一个编译器?或者我真的需要VS(3,6GB)下载或有替代品,因为我不想下载这么大的金额。
Linux有GGC,我想。
我需要Python 2.X或Python 3.X。

My question is : Is it possible to take another compiler? Or do I really need VS (3,6GB) Download or are there alternatives, since I don´t want to download that huge amount. Linux has GGC , I suppose. And do I need Python 2.X or Python 3.X.

感谢您的回复。
有一个愉快的一天。

Thanks for the replies. Have a nice day.

推荐答案

你需要visual studio才能得到C ++编译器。您可以下拉Visual Studio 2010 Express 此处,这是一个小得多的下载(694MB )。对于python,您需要2.6或2.7,如github上的 node.js wiki所述。

You'll need visual studio in order to get the C++ compilers. You can pull down Visual Studio 2010 Express here, which is a much smaller download (694MB). For python, you'll need 2.6 or 2.7 as described on the node.js wiki on github.

另一种替代方法是简单地使用node.js团队已提供的二进制文件。如果你走这条路线,你不必自己编译源代码。从我可以告诉,节点应该已经支持websockets。请参阅有关如何使用websockets设置服务器的教程此处 a>。

Another alternate is to simply use the binaries already supplied by the node.js team. If you go this route, you won't have to compile the source yourself. From what I can tell, node should already support websockets. See a tutorial on how to set up a server using websockets here.

这篇关于Node.js - 我真的需要Visual Studio吗?和Python 2.X或3.X?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆