ratt-ru / meqtrees

A library for implementing radio astronomical Measurement Equations
http://meqtrees.net
10 stars 2 forks source link

MeQBrowser not opening #884

Open Arnab-half-blood-prince opened 4 years ago

Arnab-half-blood-prince commented 4 years ago

I have installed MeqTree in Ubuntu 16.04. When I type meqbrowser.py in the terminal it shows me error : No module named Timba.utils The numpy version is 1.16.0

bennahugo commented 4 years ago

We need more information to resolve your issue. Can you please paste your environment variables here and are you installing this from KERN-3? Note the version you are installing is old since we no longer support debian packages for 16.04, it might be better to install meqtrees from source (see Dockerfiles on the procedure that needs to be followed).

Arnab-half-blood-prince commented 4 years ago

I follow this to install : https://github.com/ska-sa/meqtrees/wiki/UbuntuPackages Do you want the whole output of printenv command? I will try with docker now.

bennahugo commented 4 years ago

Yes please. It is most likely you are either trying to run this inside a virtual / conda environment or your path variables are somehow screwed up.

You should run the package in a clean shell environment without further modification of the pythonpath, etc. if you are installing the ubuntu ppa packages.

Kind regards,

On Sun, Jun 28, 2020 at 1:21 PM Arnab Chakraborty notifications@github.com wrote:

I follow this to install : https://github.com/ska-sa/meqtrees/wiki/UbuntuPackages Do you want the whole output of printenv command? I will try with docker now.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ska-sa/meqtrees/issues/884#issuecomment-650736961, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB4RE6UECQCG4JHLNHLCVQDRY4RUFANCNFSM4OKMYGTQ .

--

Benjamin Hugo

PhD. student, Centre for Radio Astronomy Techniques and Technologies Department of Physics and Electronics Rhodes University

Junior software developer Radio Astronomy Research Group South African Radio Astronomy Observatory Black River Business Park Observatory Cape Town

twillis449 commented 4 years ago

Unfortunately the web page you reference does not tell you anything about setting path variables for MeqTrees. There is some discussion of that issue near the bottom of https://github.com/ska-sa/meqtrees/wiki/BuildFromSource. Note that I would avoid actually building from source if at all possible unless you have at truly masochistic streak within yourself :)

bennahugo commented 4 years ago

If installing from the PPA the path variables should not be set. To be clear. So in all likelyhood the error is in the environment setup for your machine.

On Sun, 28 Jun 2020, 20:34 Tony Willis, notifications@github.com wrote:

Unfortunately the web page you reference does not tell you anything about setting path variables for MeqTrees. There is some discussion of that issue near the bottom of https://github.com/ska-sa/meqtrees/wiki/BuildFromSource. Note that I would avoid actually building from source if at all possible unless you have at truly masochistic streak within yourself :)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ska-sa/meqtrees/issues/884#issuecomment-650804677, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB4RE6QQBGUGBJRWGECVF2DRY6EMDANCNFSM4OKMYGTQ .

Arnab-half-blood-prince commented 4 years ago

Hi, this is the output of printenv command.

AIPSHTML=/home/arnab/SPAM/AIPS/TEXT/HTML XDG_SESSION_ID=515 CVXMEM=/home/arnab/SPAM/AIPS/31DEC13/LNX64/MEMORY SYSLOCAL=/home/arnab/SPAM/AIPS/31DEC13/LNX64/SYSTEM/IITI BATCH_OUT=/dev/console FLAGCAL_DIR=/usr/local/FLAGCAL LIBRDBG=/home/arnab/SPAM/AIPS/31DEC13/LNX64/LIBRDBG HOST=ASTRO-PRECISION-TOWER-7810 TERM=xterm-256color SHELL=/bin/bash OLD=/home/arnab/SPAM/AIPS/31DEC11 SSH_CLIENT=10.206.0.205 36634 22 NEW=/home/arnab/SPAM/AIPS/31DEC12 PLTFIL=/home/arnab/SPAM/AIPS/PLOT SYSUNIX=/home/arnab/SPAM/AIPS/31DEC13/SYSTEM/UNIX SSH_TTY=/dev/pts/12 AIPS_VERSION=/home/arnab/SPAM/AIPS/31DEC13 OFMFIL=/home/arnab/SPAM/AIPS/OFM USER=arnab LD_LIBRARY_PATH=/home/arnab/SPAM/AIPS/31DEC13/LNX64/LIBR/INTELCMP:/home/arnab/SPAM/AIPS/31DEC13/LNX64/LIBR/INTELCMP:/usr/local/lib/ AIPSOFM=/home/arnab/SPAM/AIPS/TEXT/OFM LOAD=/home/arnab/SPAM/AIPS/31DEC13/LNX64/LOAD DATA_ROOT=/DEFINE_ME TSTMEM=/home/arnab/SPAM/AIPS/31DEC13/LNX64/MEMORY TPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin SITE=IITI LPRNTR=/tmp CDTST=eval VERSION=TST; export VERSION; . /home/arnab/SPAM/AIPS/31DEC13/LNX64/SYSTEM/IITI/CDVER.SH NET0=/home/arnab/SPAM/AIPS/DA00 LAPTOP=NO MAIL=/var/mail/arnab PATH=/home/arnab/Healpix_3.31/src/cxx/generic_gcc/bin:/home/arnab/bin:/home/arnab/.local/bin:/home/arnab/anaconda2/bin:.:/home/arnab/SPAM/AIPS/31DEC13/LNX64/SYSTEM/IITI:/home/arnab/SPAM/AIPS/31DEC13/SYSTEM/UNIX:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/arnab/casa-release-4.6.0-el6/bin/:/home/arnab/wsclean-2.4/build:/home/arnab:/home/arnab/GMRT_SOFT NEWPSAP=/home/arnab/SPAM/AIPS/31DEC12/LNX64/LOAD/ALT1 OLDPSAP=/home/arnab/SPAM/AIPS/31DEC11/LNX64/LOAD/ALT1 QT_QPA_PLATFORMTHEME=appmenu-qt5 LPDEVS=1 CVXPSAP=/home/arnab/SPAM/AIPS/31DEC13/LNX64/LOAD/ALT1 AIPSGRIP=/home/arnab/SPAM/AIPS/TEXT/GRIP HOSTS=ASTRO-PRECISION-TOWER-7810 PWD=/home/arnab RUNSYS=/home/arnab/SPAM/AIPS/31DEC13/RUN VERSION=TST AIPS_ROOT=/home/arnab/SPAM/AIPS LANG=en_IN TSTPSAP=/home/arnab/SPAM/AIPS/31DEC13/LNX64/LOAD/ALT1 CVX=/home/arnab/SPAM/AIPS/31DEC13 NEWMEM=/home/arnab/SPAM/AIPS/31DEC12/LNX64/MEMORY TST=/home/arnab/SPAM/AIPS/31DEC13 TVLOAD=/home/arnab/SPAM/AIPS/31DEC13/LNX64/LOAD OLDMEM=/home/arnab/SPAM/AIPS/31DEC11/LNX64/MEMORY RUNFIL=/home/arnab/SPAM/AIPS/RUN AIPSIONS=/home/arnab/SPAM/AIPS/TEXT/IONS HEALPIX=/home/arnab/Healpix_3.31 SHLVL=1 HOME=/home/arnab LANGUAGE=en_IN:en AIPSTARS=/home/arnab/SPAM/AIPS/TEXT/STARS LOGNAME=arnab TASKTT0=/dev/pts/12 ERRORS=/home/arnab/SPAM/AIPS/31DEC13/LNX64/ERRORS/ASTRO-PRECISION-TOWER-7810 DA00=/home/arnab/SPAM/AIPS/DA00/ASTRO-PRECISION-TOWER-7810 XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop SSH_CONNECTION=10.206.0.205 36634 10.206.0.204 22 AIPSPUBL=/home/arnab/SPAM/AIPS/TEXT/PUBL CDCVX=eval VERSION=CVX; export VERSION; . /home/arnab/SPAM/AIPS/31DEC13/LNX64/SYSTEM/IITI/CDVER.SH HAVE_PERL=/usr/bin/perl PRTFIL=/home/arnab/SPAM/AIPS/PRINT LESSOPEN=| /usr/bin/lesspipe %s CDOLD=eval VERSION=OLD; export VERSION; . /home/arnab/SPAM/AIPS/31DEC11/LNX64/SYSTEM/CDVER.SH ARCH=LNX64 AIPSFITS=/home/arnab/SPAM/AIPS/BIN/FITS XDG_RUNTIME_DIR=/run/user/1001 DISPLAY=localhost:10.0 HEALPIX_TARGET=generic_gcc AIPSWHO=/home/arnab/SPAM/AIPS/TEXT/WHO FITS=/home/arnab/SPAM/AIPS/FITS AIPSFIG=/home/arnab/SPAM/AIPS/TEXT/PUBL/FIG CDNEW=eval VERSION=NEW; export VERSION; . /home/arnab/SPAM/AIPS/31DEC12/LNX64/SYSTEM/CDVER.SH LESSCLOSE=/usr/bin/lesspipe %s %s PLOTTER=/tmp

Also, I checked the pythonpath. It is using conda. so, I guess that is the problem. I will try to install from docker and let you know the result.