pip安装imread在Microsoft Visual步骤失败 [英] pip install imread fails at Microsoft Visual step
问题描述
我正在尝试安装imread来进行一些图像分析.我正在运行2.7.9.当我在powershell中键入pip install imread时,程序将运行,直到它击中Microsoft Visual C ++的某些部分为止.我已附上一张图像,显示障碍物在哪里.请帮忙. http://imgur.com/ZcMMk28
I am trying to install imread to do some image analysis. I am running 2.7.9. When I type pip install imread into powershell, the program runs until it hits some pieces from Microsoft Visual C++. I have attached an image showing where the snag is. Please help. http://imgur.com/ZcMMk28
推荐答案
我的建议是:避免麻烦,只需安装Windows二进制文件即可.
My advice is: save yourself a lot of trouble and just install a windows binary.
看看用于Python扩展程序包的非官方Windows二进制文件网站.看来imread
可用.
您正在运行Python 2.7,因此请抓住与您的Python安装(32或64位)相匹配的*-cp27-*
.
You are running Python 2.7 so grab the *-cp27-*
matching your Python install (32 or 64 bit).
这篇关于pip安装imread在Microsoft Visual步骤失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!