Giter Site home page Giter Site logo

lofarstationdata's Issues

Problems installing on Ubuntu 16.04

I have been trying to install this on Ubuntu 16.04 with no success. I've have carefully followed the instructions in the readme and as indicated here on GitHub. The following is my setup and installation.

PART 1 -- ENVIRONMENT

I have a moderately new (Feb 2017) installation of Ubuntu 16.04. Specifically:

computer platform = Linux-4.4.0-75-generic-x86_64-with-Ubuntu-16.04-xenial
python version = 2.7.12
numpy version = 1.12.1
scipy version = 0.19.0
(py)ephem version = 3.7.6.0
matplotlib version = 2.0.0
h5py version = 2.6.0
PIL version = 1.1.7

PART 2 -- INSTALLATION

The following are my installation steps. Python 2.7 (incl. numpy, scipy, etc.) were already installed as indicated above.

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:kernsuite/kern-1
sudo apt-add-repository multiverse
sudo apt-add-repository restricted
sudo apt-get update
sudo apt-get install python-casacore
sudo -H pip install git+https://github.com/sabourke/lofarstationdata

All of these ran without any indication of error.

PART 3 -- TESTING

First I check that the executable is present.

% which lofar-station-ms
/usr/local/bin/lofar-station-ms

Then I try running the "help" option, as indicated in the documentation. This is where it starts to fail.

% lofar-station-ms --help
Traceback (most recent call last):
File "/usr/local/bin/lofar-station-ms", line 9, in
load_entry_point('lofarstationdata==0.8', 'console_scripts', 'lofar-station-ms')()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2569, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2229, in load
return self.resolve()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2235, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python2.7/dist-packages/lofarstation/converter.py", line 5, in
from casacore.measures import measures
File "/usr/lib/python2.7/dist-packages/casacore/measures/init.py", line 30, in
import casacore.quanta as dq
File "/usr/lib/python2.7/dist-packages/casacore/quanta/init.py", line 1, in
from .quantity import quantity, is_quantity
File "/usr/lib/python2.7/dist-packages/casacore/quanta/quantity.py", line 2, in
from ._quanta import Quantity
ImportError: /usr/lib/python2.7/dist-packages/casacore/quanta/_quanta.x86_64-linux-gnu.so: undefined symbol: _ZN4casa16throwArrayShapesERKNS_9IPositionES2_PKc

PART 4 -- HELP?

Any suggestions on additional packages that might be needed or any configurations steps that could tried? If possible, could these be added to (or clarified in) the documentation. Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.