[英]tkinter opencv and numpy in windows with python2.7
I want to use "tkinter", "opencv" (cv2) and "numpy" in windows(8 - 64 bit and x64) with python2.7 - the same as I have running perfectly well in Linux (Elementary and DistroAstro) on other machines. 我想在Windows(8-64位和x64)和python2.7中使用“ tkinter”,“ opencv”(cv2)和“ numpy”-与我在其他Linux(Elementary和DistroAstro)上运行得很好一样机器。 I've downloaded the up to date Visual Studio and C++ compiler and installed these, as well as the latest version of PIP following error messages with the first attempts with PIP and numpy
我已经下载了最新的Visual Studio和C ++编译器并安装了它们,以及在出现错误消息后首次尝试使用PIP和numpy的最新版本的PIP。
Any help would be appreciated! 任何帮助,将不胜感激!
Finally did it with .whl files. 终于用.whl文件做到了。 Download them, copy to C:\\python27\\Scripts and then open "cmd" and navigate to that folder with "cd\\" etc. Once there run:
下载它们,将其复制到C:\\ python27 \\ Scripts,然后打开“ cmd”并使用“ cd \\”等导航到该文件夹。一旦运行:
pip install numpy-1.10.1+mkl-cp27-none-win_amd64.whl 点安装numpy-1.10.1 + mkl-cp27-none-win_amd64.whl
for example. 例如。
In IDLE I then get: 在空闲状态下,我得到:
import numpy 导入numpy
numpy. 麻木 version
版
'1.10.1' '1.10.1'
小记:WinPython具有tkinter,因为它已包含在Python Interpreter中
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.