久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

在沒有 Visual Studio 的情況下為 python 安裝 MS C++

Installing MS C++ 14.0 for python without Visual Studio(在沒有 Visual Studio 的情況下為 python 安裝 MS C++ 14.0)
本文介紹了在沒有 Visual Studio 的情況下為 python 安裝 MS C++ 14.0的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我正在安裝現有項目的一些 python 包,但出現此錯誤:

錯誤:需要 Microsoft Visual C++ 14.0.用微軟Visual C++ 構建工具":https://visualstudio.microsoft.com/downloads/

我找到了一個解決方案,方法是在此處使用 Visual Studio 的產品之一安裝它

如果上述方法仍然不能解決您的問題,您可以嘗試切換到獨立組件,向下滾動獨立組件列表,有一個標題為 Compilers, build工具和運行時.在該部分下有一個 VC++ 2015.3 v140 桌面工具集 (x86,x64) 選項并選擇它:

我已經安裝了這兩個,所以我無法確定安裝哪一個來解決這個問題.

此外,有人提供了另一種解決方法來解決此問題,您可以檢查它是否適合您:

<塊引用>

一種方法是安裝預編譯的二進制文件.網頁http://www.lfd.uci.edu/~gohlke/pythonlibs(鏡像) 包含許多 Python 包的預編譯二進制文件.下載后您感興趣的軟件包,您可以使用 pip install 安裝它,例如pip install mysqlclient?1.3.10?cp35?cp35m?win_amd64.whl.

您可以查看本文檔和此線程了解更多詳情.

希望這會有所幫助.

I am installing some python packages of an existed project and I am getting this error:

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

I found a solution to that by installing it using one of the visual studio's products here StackOverflow answer, however, want to know if there is another way without needing to install more than 1.7 gb. PS: I installed the standalone MSbuild tools and didn't work for me.

解決方案

Installing MS C++ 14.0 for python without Visual Studio

To install Microsoft Visual C++ 14.0, you can download the Microsoft Build Tools for Visual Studio 2017, install and open it, select: WorkloadsVisual C++ build tools(Even you can only select only the "Windows 10 SDK"):

If above still not resolve your issue, you can try to switch to Individual components, scrolling down the list of Individual components, there was a section titled Compilers, build tools, and runtimes. Under that section there was a VC++ 2015.3 v140 toolset for desktop (x86,x64) option and select it:

I have installed both of them, so I can not make sure which one is installed to solve this issue.

Besides, someone give a another workaround to resolve this issue, you can check if it works for you:

One way around is to install precompiled binaries. The webpage http://www.lfd.uci.edu/~gohlke/pythonlibs (mirror) contains precompiled binaries for many Python packages. After downloading the package of interest to you, you can install it using pip install, e.g. pip install mysqlclient?1.3.10?cp35?cp35m?win_amd64.whl.

You can check this document and this thread for some more details.

Hope this helps.

這篇關于在沒有 Visual Studio 的情況下為 python 安裝 MS C++ 14.0的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

How should I verify a log message when testing Python code under nose?(在鼻子下測試 Python 代碼時,我應該如何驗證日志消息?)
Patch __call__ of a function(修補函數的 __call__)
How to call self in a mock method of an object in Python?(如何在 Python 中對象的模擬方法中調用 self?)
Mocking only a single method on an object(僅模擬對象上的單個方法)
Mocking a subprocess call in Python(在 Python 中模擬子進程調用)
Checking call order across multiple mocks(檢查多個模擬的調用順序)
主站蜘蛛池模板: 伊人久久伊人 | 免费观看的av | 中文一级片 | 久久av一区二区三区 | 羞视频在线观看 | 亚洲入口 | 日韩欧美一区二区在线播放 | 伊人二区 | 国产精品一区二区免费 | 成人免费看黄网站在线观看 | 午夜av电影 | 天天综合久久 | 久久亚洲美女 | 久久精品小视频 | 免费三级网 | 蜜桃免费一区二区三区 | 国产一区二区三区四区hd | 欧美一区精品 | 日韩av免费在线电影 | 亚洲a在线观看 | 久久久人成影片一区二区三区 | 日韩精品免费播放 | 九九亚洲| 欧美国产日韩在线 | 亚洲精品久久久久久一区二区 | 综合欧美亚洲 | 欧美性乱| 亚洲欧美日韩中文字幕一区二区三区 | 欧美中文在线 | 精品久久影院 | 日韩精品在线播放 | 日韩乱码在线 | 久久久久久国产 | 中文一区二区 | 欧美日韩高清免费 | 一区二区三区四区电影视频在线观看 | 91精品国产91久久久久久三级 | 成人一区二区三区在线 | 91高清视频在线观看 | 五月天激情电影 | 国产午夜精品视频 |