How do you set the environment variable? I am new to python, assumed
it would be something like this -

import logging

PYUSB_DEBUG_LEVEL = "debug"
PYUSB_LOG_FILENAME = "C:\dump"

But it isn't working.

Thanks,

Dan


On Tue, Dec 20, 2011 at 12:08 AM, Wander Lairson Costa
<wander.lair...@gmail.com> wrote:
>
>
> 2011/12/19 JA <metala...@gmail.com>
>>
>> Hi there, I am trying to use libusb-32 1.2.5 and pyusb 1.0.0a2 to
>> control a usb device on my windows 7 machine (with python 2.7) as
>> demonstrated here - http://www.ladyada.net/learn/diykinect/. The
>> libusb-32 filter driver on my device has installed with no problems
>> but I am getting a "No backend available" error when I run my python
>> code. Can anyone with experience of these tools give me some advice? I
>> am thinking there is some sort of version conflict between pyusb and
>> libusb-32, does anyone know which version of both tools are
>> compatible? Thanks!
>>
>
> Please, set the env variable PYUSB_DEBUG_LEVEL=debug, run the program again
> and post the output.
>
> --
> Best Regards,
> Wander Lairson Costa
>
>
>
> ------------------------------------------------------------------------------
> Write once. Port to many.
> Get the SDK and tools to simplify cross-platform app development. Create
> new or port existing apps to sell to consumers worldwide. Explore the
> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
> http://p.sf.net/sfu/intel-appdev
> _______________________________________________
> pyusb-users mailing list
> pyusb-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pyusb-users
>

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to