cannot open console in Ubuntu 16.04

94 views
Skip to first unread message

Gary Johnson

unread,
Aug 26, 2016, 6:32:02 PM8/26/16
to swiftnav-discuss
I bought a refurbished Dell Latitude D630 with no operating system to use as a dedicated console for my mapping project. I loaded Ubuntu 16.04. I installed piksi_tools. When I ran the

gary@Gary:~/piksi_tools-master$ cd tasks
gary@Gary:~/piksi_tools-master/tasks$ ./setup.sh -x install

command, the last few lines of output were

Package python-wxgtk2.8 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'python-wxgtk2.8' has no installation candidate

Then I tried the command

gary@Gary:~/piksi_tools-master$ sudo -H pip install -r requirements.txt

and got several pages of output. The last few lines were

    build/temp.linux-x86_64-2.7/_openssl.c:429:30: fatal error: openssl/opensslv.h: No such file or directory
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
   
    ----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-uOZeyH/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-dLg0Rr-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-uOZeyH/cryptography/
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

I then tried the command

gary@Gary:~/piksi_tools-master$ python piksi_tools/console/console.py

The total output was

Traceback (most recent call last):
  File "piksi_tools/console/console.py", line 13, in <module>
    import piksi_tools.serial_link as s
ImportError: No module named piksi_tools.serial_link

Can you give me a hint as to what to try next?




Dennis Zollo

unread,
Aug 29, 2016, 4:26:16 PM8/29/16
to swiftnav-discuss
Gary,

I think everything is setup correctly, you just need to set your python path before you launch the console so that it resolve the piksi_tools imports.

From the root of piksi tools, please try running:

PYTHONPATH=. piksi_tools/console/console.py

Let me know the results. 

Best,
Dennis

Gary Johnson

unread,
Aug 30, 2016, 12:41:39 PM8/30/16
to swiftnav-discuss
Reply all
Reply to author
Forward
0 new messages