Error: No module named usb

Visto 123 veces
Saltar al primer mensaje no leído

furri

no leída,
15 dic 2011, 22:37:2415/12/11
a pingui...@googlegroups.com
Hi, i have problems with windows and 9.5 version, so i upgrade to x.2, select pic18f2550 in preferences, open a file, compile... fine, but when i click in upload to pinguino nothing happens and in the trace window i get:

Traceback (most recent call last):
  File "pinguinobetax2.py", line 1036, in OnUpload
  File "C:\pinguino32X\library\win32\p8\bin\vascoboot1.3.py", line 34, in <module>
    import usb
ImportError: No module named usb

i just reboot windows, check cables... i have 2.12 version of bootloader.

some help will be welcome.

thanks.


André GENTRIC

no leída,
16 dic 2011, 1:35:3916/12/11
a pingui...@googlegroups.com
Hi Furri,
I also met this problem.
A provisary solution may be to upload with  \pinguino beta9-02 windows\tools\bin\bootloader\vascoboot.exe which is a compiled version for vascoboot1.3.py. For me it works.
André

furri a écrit :
--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes Pinguino.
Pour envoyer un message à ce groupe, adressez un e-mail à pingui...@googlegroups.com.
Pour vous désabonner de ce groupe, envoyez un e-mail à l'adresse pinguinocard...@googlegroups.com.
Pour plus d'options, consultez la page de ce groupe : http://groups.google.com/group/pinguinocard?hl=fr

geert geurts

no leída,
16 dic 2011, 1:50:5016/12/11
a pingui...@googlegroups.com

Hi,
You'll need the python usb module.
For Windows i have no idea how to get it, but google is your friend!

Succes.

Greetings,
Geert

walterleonardo

no leída,
16 dic 2011, 2:32:5916/12/11
a pingui...@googlegroups.com
Hola Furri .....por cosillas de windows....parece que por algún motivo se te ha borrado el modulo de PYTHON de USB....  instalado nuevamente...



furri

no leída,
17 dic 2011, 3:32:4417/12/11
a pingui...@googlegroups.com
thanks, i'll try both solutions tomorrow.  /  gracias, probaré mañana las dos soluciones.



2011/12/16 walterleonardo <walterl...@gmail.com>



--

-------
Pocos saben quienes cambiaron nuestro mundo
http://es.wikipedia.org/wiki/Los_ni%C3%B1os_de_Fairchild

Bastian

no leída,
17 dic 2011, 18:40:0917/12/11
a Pinguino
Hi!

I have same problem under windows 7. Beta X.2 can't program pinguino.

I installed several times pyusb and everything else, but nothing
works. I tried what is said in this post
http://forum.pinguino.cc/showthread.php?tid=3161
... nothing!

Seems the problem is not in python usb. I've installed pyusb several
times and seems installed correctly.
I have IDE beta 9.05 and X.2 installed in the same computer. I can
program pinguino with beta 9.05, but not with X.2. Vasco bootloader
works in beta 9. In fact i can upload hex file compiled with IDE x.2
using the beta9's bootloader. so ... don't seems problem of pyusb.
Something is wrong in X.2.

I tried to install X.2 in two diferent computer under Win 7, and none
can upload a program :(

In Ubuntu, X.2 program pinguino without problems.

any sugestion is wellcome...

greetings!

__________________________________________________________________________________________________
¡Hola!

Tengo el mismo problema con Windows 7. La Beta X.2 no puede programar
pinguino.

He instalado pyusb y todo lo demás varias veces, pero no funciona. He
intentado lo que se dice en este post
http://forum.pinguino.cc/showthread.php?tid=3161
... Tampoco funciona!

Parece que el problema no está en el módulo usb de python. He
instalado pyusb varias veces y parece que está correctamente
instalado.
Tengo un ordenador con la beta 9.05 y la X.2 instaladas. Puedo
programar pinguino con la beta 9.05, pero no con X.2. El Vasco
funciona en la beta 9. De hecho puedo cargar el archivo .hex compilado
con el IDE x.2 utilizando el Vasco de la beta9, así que no parece
problema de pyusb. Algo está mal en el IDE X2.

He instalado X.2 en dos computadoras diferentes con Windows 7, y
ninguna puede cargar un programa: (

En Ubuntu, X.2 programa el pinguino sin problemas.

cualquier sugerencia es bienvenida...

saludos!

On 17 dic, 09:32, furri <furric...@gmail.com> wrote:
> thanks, i'll try both solutions tomorrow.  /  gracias, probaré mañana las
> dos soluciones.
>

> 2011/12/16 walterleonardo <walterleona...@gmail.com>

Bastian

no leída,
22 dic 2011, 4:57:0922/12/11
a Pinguino
WORKS!!!!
The problem is in the installer file. I downloaded and installed
"Pinguino32X r208 setup.exe.exe", but it not worked.

This works for me (win7 32 bits)

Download and unzip (in C:\X.2) X.2
Download and unzip (in C:\X.2) Win32
Add 'import usb' statement in c:\x.2\pinguinobetax2.py (line 96).
Download and unzip libusb-win32-bin-1.2.5.0.zip
Connect pinguino to the usb
Run and install "...\libusb-win32-bin-1.2.5.0\bin\inf-wiz.exe"
Download and install Python 2.6.6
Download and install wxPython2.8-win32-unicode-py26
Download and install pyserial-2.5.win32.exe
Download and install pyusb 0.4.3
Run c:\x.2\pinguinobetax2.py


after this, vasco bootloader runs and i can program pinguino.
GREAT!!!!

this tutorial helped me: http://tutorial.cytron.com.my/2011/08/20/pinguino-installation-window-7/

I've posted it with links to the files in this post :
http://forum.pinguino.cc/showthread.php?tid=3161&pid=3703#pid3703

Grettings!

On 18 dic, 00:40, Bastian <davidcarmona.m...@gmail.com> wrote:
> Hi!
>
> I have same problem under windows 7. Beta X.2 can't program pinguino.
>
> I installed several times pyusb and everything else, but nothing
> works. I tried what is said in this posthttp://forum.pinguino.cc/showthread.php?tid=3161
> ... nothing!
>
> Seems the problem is not in python usb. I've installed pyusb several
> times and seems installed correctly.
> I have IDE beta 9.05 and X.2 installed in the same computer. I can
> program pinguino with beta 9.05, but not with X.2. Vasco bootloader
> works in beta 9. In fact i can upload hex file compiled with IDE x.2
> using the beta9's bootloader. so ... don't seems problem of pyusb.
> Something is wrong in X.2.
>
> I tried to install X.2 in two diferent computer under Win 7, and none
> can upload a program :(
>
> In Ubuntu, X.2 program pinguino without problems.
>
> any sugestion is wellcome...
>
> greetings!
>
> __________________________________________________________________________________________________
> ¡Hola!
>
> Tengo el mismo problema con Windows 7. La Beta X.2 no puede programar
> pinguino.
>
> He instalado pyusb y todo lo demás varias veces, pero no funciona. He
> intentado lo que se dice en este posthttp://forum.pinguino.cc/showthread.php?tid=3161
Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos