簡體   English   中英

如何在 Windows 10 的 python 中安裝模塊 pybluez

[英]How to install module pybluez in python for windows 10

我無法安裝模塊 pybluez。 當我寫到控制台時: python -m pip install pybluez ,我收到錯誤:

ERROR: Command errored out with exit status 1:

error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/

ERROR: Command errored out with exit status 1

我該如何解決?

此錯誤發生在模塊依賴項中。 Pybluez 需要 Microsoft Visual C++ 14.0 才能安裝,您可以通過以下軟件包安裝所有必需的工具:

https://visualstudio.microsoft.com/visual-cpp-build-tools/

安裝軟件包后,重新啟動系統。

此外,您可以安裝此軟件包:

https://www.techspot.com/downloads/6776-visual-c-redistributable-package.html

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM