简体   繁体   English

如何在Visual Studio 2013中安装npm模块蓝牙串行端口

[英]How to install npm module bluetooth-serial-port with Visual Studio 2013

Tried to do npm install bluetooth-serial-port in Windows 7 with Python 3.7 and Visual Studio 2013. But got error on installation saying python version should be between 2.5.0 and 3.0. 试图在Windows 7中使用Python 3.7和Visual Studio 2013进行npm安装bluetooth-serial-port。但是安装时出现错误,说python版本应该在2.5.0和3.0之间。 Uninstalled Python 3.7 and installed Python 2.7 solved that problem. 卸载Python 3.7和安装Python 2.7可以解决该问题。 Then it failed on finding WindowsSDKVer. 然后找不到WindowsSDKVer。

Tried the following command to install npm module bluetooth-serial-port and installation is success. 尝试了以下命令来安装npm模块bluetooth-serial-port并安装成功。

npm install bluetooth-serial-port --msvs_version=2013 npm install bluetooth-serial-port --msvs_version = 2013

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM