Hi Hveem, All your python packages needs to be python3, not python2.
And, after building WSJT, you should run the wsjt.sh script, rather than running the .py directly. Additionally, build-essential is for Debian / Ubuntu packaging, it even says as much in the package description. ---- Description-en: Informational list of build-essential packages If you do not plan to build Debian packages, you don't need this package. Starting with dpkg (>= 1.14.18) this package is required for building Debian packages ----- I would recommend using JTSDK to build with, as it ensures the right package list and build scripts, but that's up to you. https://launchpad.net/~ki7mt/+archive/ubuntu/jtsdk Just following the install instructions. There are several additional packages, but as you posted about Python, these are the packages you need with respect to Python3: python3-dev, python3-numpy, python3-pil, python3-pil.imagetk, python3-pip, python3-setuptools I am not sure where you got the package list for building WSJT, but it needs to be updated. 73's Greg, KI7MT On 08/28/2015 03:01 AM, Håken Hveem wrote: > > Hello, there seems to be some faults with the wsjt.py file. > Fault 1: running ./wsjt resluts in the following error message: > Traceback (most recent call last): > File "/usr/bin/wsjt.py", line 5, in <module> > from tkinter import * > ImportError: No module named tkinter > I fixed this with replacing all the tkinter instances with: > Tkinter. > > Fault number 2: > > Trying to run it now results in: > ./wsjt > Traceback (most recent call last): > File "/usr/bin/wsjt.py", line 6, in <module> > from Tkinter.filedialog import * > ImportError: No module named filedialog > > The wsjt.py file reads: > > #!/usr/bin/env python > #------------------------------------------------------------------------- > WSJT > # $Date: 2015-08-05 22:04:20 +0200 (on., 05 aug. 2015) $ $Revision: 5755 $ > # > from Tkinter import * > from Tkinter.filedialog import * > import Pmw > import Tkinter.messagebox > from WsjtMod import g > import os,time > from WsjtMod import Audio > from math import log10 > import numpy.core.multiarray # Tell cxfreeze we need the numpy stuff > from PIL import Image > from PIL import ImageTk > from WsjtMod.palettes import colormapblue, colormapgray0, colormapHot, \ > colormapAFMHot, colormapgray1, colormapLinrad, Colormap2Palette > from types import * > import array > import _thread > import webbrowser > > > How do i fix this ? > > It compiled just fine with the following packets installed: > build-essential gfortran python-numpy python-scipy python-imaging-tk > python-imaging python-all python-all-dev > > ----------- > Håken Hveem > > ------------------------------------------------------------------------------ > _______________________________________________ > wsjt-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wsjt-devel > ------------------------------------------------------------------------------ _______________________________________________ wsjt-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wsjt-devel
