[issue46459] Installing python to external drive (USB) using python installer failure

2022-01-21 Thread Steve Dower
Steve Dower added the comment: The installer doesn't support installing twice on the same machine, even to different locations. What you probably want to do is to install it normally, then copy all the files onto the USB. You will need to "python -m pip install --force pip" in the new copy

[issue46459] Installing python to external drive (USB) using python installer failure

2022-01-21 Thread oMqngo
USB drive. -- components: Windows messages: 411140 nosy: oMqngo, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Installing python to external drive (USB) using python installer failure type: behavior versions: P

Re: USB in python

2009-01-27 Thread Lie Ryan
On Mon, 26 Jan 2009 11:08:48 -0600, Unknown wrote: On 2009-01-26, Lie Ryan lie.1...@gmail.com wrote: How about (a crazy idea) using the audio jack out? (DISCLAIMER: Little Hardware Experience). High pitched sound (or anything in sound-ology that means high voltage) means the device is on

Re: USB in python

2009-01-27 Thread Muriel de Souza Godoi
Some people got success in Arduindo using an older mobile cable which works as USB/Serial converters. So you can read and write data as a serial port using pyserial. On Tue, Jan 27, 2009 at 8:31 AM, Lie Ryan lie.1...@gmail.com wrote: On Mon, 26 Jan 2009 11:08:48 -0600, Unknown wrote: On

Re: USB in python

2009-01-27 Thread Grant Edwards
On 2009-01-27, Lie Ryan lie.1...@gmail.com wrote: From the little I know on electronics, a simple, single transistor would (almost) immediately switch from on-to-off-to-on depending on the voltage of the control pin (I think it was the middle pin). I was suggesting this simplistic hack

Re: USB in python

2009-01-27 Thread Tino Wildenhain
Hi, Astan Chee wrote: Diez B. Roggisch wrote: If all you need is on-off - why can't you just use a switch? Because I want to control the on-off the device using a computer and write software for it (which I am confident I can do if I had references to how the wrappers to said

Re: USB in python

2009-01-26 Thread Lie Ryan
On Fri, 23 Jan 2009 18:56:38 +1100, Astan Chee wrote: Diez B. Roggisch wrote: If all you need is on-off - why can't you just use a switch? Because I want to control the on-off the device using a computer and write software for it (which I am confident I can do if I had

Re: USB in python

2009-01-26 Thread Banibrata Dutta
high pitch is == high frequency, no higher amplitude... but the difference can be easily made out and the electronics for this is very well understood and used.point is, the gentleman asking the question might already have a USB controller built into his device, and while most modern computers

Re: USB in python

2009-01-26 Thread Steve Holden
Lie Ryan wrote: On Fri, 23 Jan 2009 18:56:38 +1100, Astan Chee wrote: Diez B. Roggisch wrote: If all you need is on-off - why can't you just use a switch? Because I want to control the on-off the device using a computer and write software for it (which I am confident I can do

Re: USB in python

2009-01-26 Thread Steve Holden
Astan Chee wrote: Tim Roberts wrote: Sorry, but you have NOT created a USB device, and I sincerely hope you do not try to plug it in to a real USB port. Sorry, by USB device, I meant a device that is powered/activated by a bunch of wires that I want to control using a computer and since I

Re: USB in python

2009-01-26 Thread Brian Allen Vanderburg II
astan.c...@al.com.au wrote: Tim Roberts wrote: Sorry, but you have NOT created a USB device, and I sincerely hope you do not try to plug it in to a real USB port. Sorry, by USB device, I meant a device that is powered/activated by a bunch of wires that I want to control using a computer

Re: USB in python

2009-01-26 Thread Grant Edwards
On 2009-01-26, Lie Ryan lie.1...@gmail.com wrote: How about (a crazy idea) using the audio jack out? (DISCLAIMER: Little Hardware Experience). High pitched sound (or anything in sound-ology that means high voltage) means the device is on and low pitched sound off. 1) Pitch has nothing to

Re: USB in python

2009-01-26 Thread Дамјан Георгиевски
Sorry, by USB device, I meant a device that is powered/activated by a bunch of wires that I want to control using a computer and since I had a spare USB jack lying around, I used that instead. But so far I haven't tried it, nor will try it if it wont work properly. Yes, it is not a proper USB

Re: USB in python

2009-01-26 Thread Astan Chee
Brian Allen Vanderburg II wrote: This is the FT245 chip which is basically USB-to-Parallel. Chips: http://www.ftdichip.com/Products/FT245R.htm Kit/Board: http://www.ftdichip.com/Products/EvaluationKits/UM245R.htm The spec sheet for the board seems quite simple. It's pin out is similar to

Re: USB in python

2009-01-25 Thread Tim Roberts
Astan Chee astan.c...@al.com.au wrote: Im trying to write a program for my USB device and I'm thinking of using python to do this. The USB device is of my own making and it is activated when one of the two data pins of the USB is given about 5V (or similar to whatever the power pin is

Re: USB in python

2009-01-25 Thread Astan Chee
Tim Roberts wrote: Sorry, but you have NOT created a USB device, and I sincerely hope you do not try to plug it in to a real USB port. Sorry, by USB device, I meant a device that is powered/activated by a bunch of wires that I want to control using a computer and since I had a spare USB

Re: USB in python

2009-01-22 Thread Diez B. Roggisch
Astan Chee wrote: Hi, Im trying to write a program for my USB device and I'm thinking of using python to do this. The USB device is of my own making and it is activated when one of the two data pins of the USB is given about 5V (or similar to whatever the power pin is getting). Now I'm

Re: USB in python

2009-01-22 Thread Tino Wildenhain
Astan Chee wrote: Hi, Im trying to write a program for my USB device and I'm thinking of using python to do this. The USB device is of my own making and it is activated when one of the two data pins of the USB is given about 5V (or similar to whatever the power pin is getting). Now I'm

Re: USB in python

2009-01-22 Thread Brian Allen Vanderburg II
astan.c...@al.com.au wrote: Hi, Im trying to write a program for my USB device and I'm thinking of using python to do this. The USB device is of my own making and it is activated when one of the two data pins of the USB is given about 5V (or similar to whatever the power pin is getting). Now

Re: USB in python

2009-01-22 Thread Astan Chee
Diez B. Roggisch wrote: Astan Chee wrote: Hi, Im trying to write a program for my USB device and I'm thinking of using python to do this. The USB device is of my own making and it is activated when one of the two data pins of the USB is given about 5V (or similar to whatever the power pin

Re: USB in python

2009-01-22 Thread Grant Edwards
On 2009-01-23, Astan Chee astan.c...@al.com.au wrote: Thanks for all the responses but I forgot to mention that I have very little hardware understanding (at least in english) and the device itself it very simple and only needs about 5V power to be active. The problem here is that I want

Re: USB in python

2009-01-22 Thread Brian Allen Vanderburg II
astan.c...@al.com.au wrote: Hi, Thanks for all the responses but I forgot to mention that I have very little hardware understanding (at least in english) and the device itself it very simple and only needs about 5V power to be active. The problem here is that I want to control when the device

Re: USB in python

2009-01-22 Thread Diez B. Roggisch
Astan Chee schrieb: Diez B. Roggisch wrote: Astan Chee wrote: Hi, Im trying to write a program for my USB device and I'm thinking of using python to do this. The USB device is of my own making and it is activated when one of the two data pins of the USB is given about 5V (or similar to

Re: USB in python

2009-01-22 Thread Astan Chee
Diez B. Roggisch wrote: Others suggested the parallel port. It is the natural choice for such things, with two caveats: - it is legacy, and thus often not available on modern hardware, especially on mobile ones. So if you want it be prepared to additionally buy a usb2parallel-adapter.

Re: USB in python

2009-01-22 Thread Diez B. Roggisch
Astan Chee schrieb: Diez B. Roggisch wrote: Others suggested the parallel port. It is the natural choice for such things, with two caveats: - it is legacy, and thus often not available on modern hardware, especially on mobile ones. So if you want it be prepared to additionally buy a

Re: USB in python

2009-01-22 Thread Astan Chee
Diez B. Roggisch wrote: If all you need is on-off - why can't you just use a switch? Because I want to control the on-off the device using a computer and write software for it (which I am confident I can do if I had references to how the wrappers to said interface). Cheers Astan.

USB in python

2009-01-21 Thread Astan Chee
Hi, Im trying to write a program for my USB device and I'm thinking of using python to do this. The USB device is of my own making and it is activated when one of the two data pins of the USB is given about 5V (or similar to whatever the power pin is getting). Now I'm confused to if the

Re: USB and Python

2006-06-25 Thread Philippe Martin
Many thanks, Philippe Philippe Martin wrote: Hi, I need to talk to a USB device (PC or other) from Python - I am not talking about mounting a file system but sharing information as you would though a TCP-IP socket layer or an RS232 interface. Is there such low-level module available

Re: USB and Python

2006-06-24 Thread Diez B. Roggisch
Sybren Stuvel schrieb: Philippe Martin enlightened us with: I need to talk to a USB device (PC or other) from Python - I am not talking about mounting a file system but sharing information as you would though a TCP-IP socket layer or an RS232 interface. You could wrap libusb on Linux.

USB and Python

2006-06-23 Thread Philippe Martin
Hi, I need to talk to a USB device (PC or other) from Python - I am not talking about mounting a file system but sharing information as you would though a TCP-IP socket layer or an RS232 interface. Is there such low-level module available for Windows / Linux ? Thanks, Philippe --