On Wed, Nov 16, 2011 at 12:37 PM, Safoura <s.seddig...@gmail.com> wrote: > I don't have pyusb or python installed on the customer's mashines but > have installed libusb-win32. > If I run my exe python code by double clicking on it, it runs fine > (usb opened and read) > If my java code runs it, this error would show and the software fails! > What could be the problem? > Please help if you can.
Looks quite strange and since I do not know about anything about Java, I am just guessing here. Is your JRE 64bit and Python 32 bit? Or your JRE32bit and Python 64bit? That might be some issues. Since the problem only happens when your Java code calls the Python compiled exe file, you may want to look at your Java code as well. -- Xiaofan ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users