windows-7-x64

Cannot import QtCore or QtGui from PyQt4

房东的猫 提交于 2019-12-11 02:39:09
问题 I have found plenty of posts regarding this issue, but no answers that work for me. PROBLEM: I am trying to run this code: from PyQt4 import QtCore, QtGui I get this error in return: ImportError: cannot import name QtCore I append the path to PyQt4 to sys.path (C:\Python27\Lib\site-packages\PyQt4) and importing just PyQt4 throws no errors. I can see that QtCore.pyd and QtGui.pyd are in that directory and the directory has its __init__.py file. Specs: Windows 7 x64 python v2.6.8 PyQt v4.10.4

How to register a 64-bit COM dll on 64-bit Windows 7?

那年仲夏 提交于 2019-12-11 01:38:02
问题 I'm trying to register an x64 COM server dll for use in x64 office on x64 windows 7. I have followed the instructions here but I cannot register the dll. When I attempt to I get the following error: The command I use is regsvr32 my_x64_com_server.dll Why is this happening and is there a workaround? Thanks in advance. 回答1: How is the command being run? From a process or from a command line? Make sure the command is being run from a 64-bit process (or a 64-bit cmd.exe console window). Otherwise

How to use OpenCV in python 3.4 on windows 7 x64? [duplicate]

不羁的心 提交于 2019-12-11 00:59:41
问题 This question already has answers here : OpenCV for Python 3.x under Windows [duplicate] (3 answers) Closed 4 years ago . I have windows 7 x64 and python 3.4 . I try to use cv2 module: import numpy as np import cv2 img = cv2.imread('messi5.jpg',0) As I know, there is no way to use opencv 2 with python 3.4 . Therefore, I downloaded opencv 3 beta. But I don't understand how to use this stuff for my purpose. Folder ~\opencv\build\python\ contains python 2.7 folder , but there is not python 3.4

Linking error OpenCV 2.4+CUDA windows 7(x64) command line

别说谁变了你拦得住时间么 提交于 2019-12-10 15:49:27
问题 I am trying to compile a program that uses both CUDA and OpenCV. I am sure that the paths to OpenCV are right because compiling a simple OpenCV program with this: cl /I"%OPENCV_DIR%\include" /LINK"%OPENCV_DIR%\x64\vc10\lib\opencv_core240.lib" "%OPENCV_DIR%\x64\vc10\lib\opencv_highgui240.lib" testCV.cpp it successfully compiles the program. Now when I try to compile with NVCC like this: nvcc testCuda.cu --cl-version 2010 --use-local-env -I"%OPENCV_DIR%\include" -L"%OPENCV_DIR%\x64\vc10\lib

why does strftime() on windows returns false? (i'm not using %e)

时光毁灭记忆、已成空白 提交于 2019-12-10 15:44:30
问题 Here is my code: var_dump(strftime("%m-%d-%Y %l:%M:%S", time())); echo "<br />"; var_dump(strftime("%Y-%d-%m %H:%M:%S", time())); The first line returns false, and the third returns the anticipated string '2012-10-09 23:03:18' (length=19) Why is the first line returning false? I'm running windows 7x64 and wamp with fairly default settings. 回答1: If the first line doesn't work but the second one does, then the reason is obviously because of %l var_dump(strftime("%l", time())); Does indeed throw

compile 32bit code from cygwin64

时光总嘲笑我的痴心妄想 提交于 2019-12-10 14:43:19
问题 I installed Cygwin64 on a win7-64 with gcc dev tools and I just noticed that it produces 64bit binaries. (Well, not that surprising :o) Is there a mean to make it producing some 32bit binaries? I am compiling the socat tool for windows, compiled in 64bit it is working, but I am trying to make another version suitable for an XP-32. The configure script does not seem to support a -b 32 switch (that I must have seen for ming64 from this thread, and if I try to specify the -m32 switch in CFLAGS

Missing Debug|Any CPU build configuration for projects and defaulting to Debug|x86 on Windows x64

大城市里の小女人 提交于 2019-12-10 12:34:19
问题 I've just recently reinstalled Windows 7 x64 on my box. The installation succeeded, and I've had no issues with the operating system as a whole. I believe there is a configuration issue with either Windows or .NET x64. Symptoms The default build configurations for new projects is Debug|x86 . This doesn't feel right. I'm running an x64 OS, and I'm reasonably confident that for the last three versions prior to this the default build config has been Debug|Any CPU . Any CPU does not exist as a

SQL Developer 4.0.2 install on Windows 7 64 bit

一笑奈何 提交于 2019-12-10 12:09:14
问题 I made a few of them on the computer I got the same error. could not figure out this question. sql developer normally opens but then the image begins to fade. not clicked on anything. system is unwieldy. buttons as the picture opens. The two buttons at the same time seems to be open 回答1: thanks you very much... SQL Developer 4.0.2 install on Windows 7 64 bit screen solution 来源: https://stackoverflow.com/questions/24553391/sql-developer-4-0-2-install-on-windows-7-64-bit

Cannot add reference to Skype4COM .dll on Windows 7 x64

萝らか妹 提交于 2019-12-10 09:50:30
问题 I received the dialog indicating successful registration of Skype4COM.dl using regsvr32. However, when I try to add a reference to Skype4COM 1.0 Type Library from the COM tab into my VS 2008 project, I get "A reference to Skype4COM 1.0 Type Libary' could not be loaded. Did not run into this problem on 32 bit XP. Dependency walker says I am missing GPSVC.DLL and IESHIMS.DLL but these are found in c:\system\windows32 and c:\program files\internet explorer respectively. How do I fix this? TIA.

CUDA Visual Studio 2010 Express build error

对着背影说爱祢 提交于 2019-12-10 08:14:37
问题 I am trying to get started with CUDA programming on Windows using Visual Studio 2010 Express on a 64 bit Windows 7. It took me a while setting up the environment, and I just wrote my first program, helloWorld.cu :) Currently I am working with the following program: #include <stdio.h> __global__ void add(int a, int b, int *c){ *c = a + b; } int main(void){ int c; int *dev_c; HANDLE_ERROR( cudaMalloc( (void**)&dev_c, sizeof(int) ) ); add<<<1,1>>>(2, 7, dev_c); HANDLE_ERROR( cudaMemcpy( &c, dev