python console loading problem

494 views
Skip to first unread message

David Beck

unread,
May 8, 2014, 2:02:15 PM5/8/14
to swiftnav...@googlegroups.com
I am trying to launch the python console.py in Windows 7. I followed the step by step setup and verified the COM port setting. But, when I launch the console, I get the following error

C:\piksi_firmware\scripts>python console.py --port COM3
WARNING:traits.has_traits:DEPRECATED: traits.has_traits.wrapped_class, 'the 'imp
lements' class advisor has been deprecated. Use the 'provides' class decorator.
Traceback (most recent call last):
  File "console.py", line 88, in <module>
    from one_click_update import OneClickUpdate
  File "C:\piksi_firmware\scripts\one_click_update.py", line 15, in <module>
    from intelhex import IntelHex
ImportError: No module named intelhex

Any help would be appreciated

Thanks

Colin Beighley

unread,
May 8, 2014, 3:05:13 PM5/8/14
to David Beck, swiftnav...@googlegroups.com
Hi David,

I think this problem is probably caused by using the wrong Python exe. Can you show us which Python exe you're using by typing:

$ WHERE python

and

$ WHERE python.exe

in your cmd.exe prompt?

Thanks,
Colin


--
You received this message because you are subscribed to the Google Groups "swiftnav-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swiftnav-discu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Fergus Noble

unread,
May 8, 2014, 3:09:35 PM5/8/14
to Colin Beighley, David Beck, swiftnav...@googlegroups.com
Hi David,

You may also want to try installing the intelhex module using pip. Run this command from the command prompt:

pip install intelhex

This dependency was recently added and the instructions had not yet been updated, sorry.

Thanks,
Fergus

Sent from my iPhone

David Beck

unread,
May 8, 2014, 3:18:02 PM5/8/14
to swiftnav...@googlegroups.com
here is the response

C:\piksi_firmware\scripts>where python
C:\Python27\python.exe

David Beck

unread,
May 8, 2014, 3:26:40 PM5/8/14
to swiftnav...@googlegroups.com


had to run following command to install intelhex, was able to get the console running.

 :\>pip install intelhex --allow-external intelhex --allow-unverified intelhex

Thanks
Reply all
Reply to author
Forward
0 new messages