HI All, Apologies for not being very clear here. The packages you need, for the distribution you have (Debian based Wheezy) do no exist in the Debian WHeezy repositories for Python3.
Python3 Imaging Library (python3-pil or python3-pillow): * Wheezy = No * Jessie and Sid = yes Python3 Imaging, Tk Dependant (python3-imagetk or python3-imaging-tk) * Wheezy = No * Jessie and Sid = Yes Further confusing the issue, the Python3 packages that are available in Jessie and Sid ( pillow 2.6.1 for example ) conflict with WSJT adn WSPR code. Which goes back to what we talked about a a few days ago. You can get pillow using pip3, but there's guarantee it will work properly as its form a completely different source ( pypi.python.org ). I didn't even bother to look for the Imaging Tk modules. So, even if you get all the NumPy and GCC issues sorted out, you will still have package dependency problems in Pil and Image Tk. I suppose it's possible to compile them yourself, but be aware, the image libs have several other dependencies when compiling from source. Do some searching here: https://packages.debian.org/wheezy/python/python-imaging-tk You will see, some are available, but they are either the wrong versions, wrong Python version or they are not for Wheezy. I hope that clears this up. 73's Greg, KI7MT On 12/20/2014 04:59 AM, Alan VK2ZIW wrote: > Thanks Greg, > > > On my home Banana Pi there is no 'funny business' all the build info > is in a previous email. Just "apt-get <everything>" then > "pip-3.2 install -I pillow==2.5.3" > > What you see is out of the Debian 'sources' > deb http://ftp.de.debian.org/debian/ wheezy main non-free contrib > deb-src http://ftp.de.debian.org/debian/ wheezy main non-free contrib > > deb http://security.debian.org/ wheezy/updates main contrib non-free > deb-src http://security.debian.org/ wheezy/updates main contrib non-free > > As user "wsjtdev" you are in the same group (tims) as me "alanb" and the UMASK > was set so we, as members of the same group do things. > You can copy or 'get' from SVN a fresh copy. Don't worry about data > download, I have 40Gb/month. > > In the end, we all need a Low Power, Low Price way to run WSPR or WSJT. > That is repeatable and reliable. > > Alan VK2ZIW > > > > On Sat, 20 Dec 2014 02:19:01 -0700, ki7mt wrote >> Hi Alan, >> >> I kind of figured something was not right. Ok, well, that's goods >> news and bad. >> >> The good news, f2py3's path looks ok from what I can tell. F2PY3 is >> being picked up in the Makefile, unless you manually edited it, as is >> Python3. >> >> That's about all the good news. >> >> * Pip - your pip is for py2.7 and it's seriously out of date, 1.1 vs. >> >> 1.5+. That explains why pip list isn't working. pip freeze is >> listing a couple pkgs, but looks broken, Upgrading may fix that. For >> python3 modules, you need python3-pip, then run pip3 install x.x.x >> or whatever you need to do. You may want o install python3- >> setuptools while your at it. >> >> * Python3-Imaging / PIL / Pillow / TK - As far as I can tell, the >> situation is the same as below, unless there's another way to query the >> repo other than apt-get. >> >> * GCC -same again, 4.6. I've not tested any of the apps below 4.7 >> >> * Numpy 1.6 .. 1.8.0 was the lowest I could get working. Having said >> that, 1.9.1 and Py3.4 has been running all evening here so that's a >> plus, but doesn't help your situation much. Bare in mind, the F2PY >> script is mostly a wrapper for f2py2e.py in >> >> /usr/lib/python3/dist-packages/numpy/f2py/f2py2e.py >> >> f2py2e.py is the important one of the two, which has a problem. >> >> * Your f2py2e.py has a shebang of /usr/bin/python (which is python2), >> even though it is in python3 sub-folders. Don't know how that happened. >> Was this something you copied over or did you install python3-numpy >> directly? If so, you should purge python3-numpy and reinstall it. >> >> I can't run ./autogen.sh to do further testing due to permissions, >> so, I can't really troubleshoot the configure.ac script. You should >> try adding the --with-f2py=<PATH> options though. >> >> The rest is about the same as far as I can see. >> >> 73's >> Greg, KI7MT >> >> On 12/20/2014 01:10 AM, Alan VK2ZIW wrote: >>> Hi Greg, >>> >>> You are on the wrong box. >>> "club.bmarc.org" is a Banana Pi at the BMARC clubhouse. Bananian 3.0 loaded >>> in >>> late September 2014. >>> cat /etc/debian_version => 7.4 >>> >>> My box, here at home is at "www.unixservice.com.au". To get to my Banana Pi, >>> login as "wsjtdev", then you get redirected to 192.168.7.45 on my LAN and >>> it asks for the password a 2nd time. >>> cat /etc/debian_version => 7.7 >>> >>> You also have RDP access, straight to both Banana Pi boxen. >>> >>> There you will see: >>> ls /usr/bin/f2p* => /usr/bin/f2py3 /usr/bin/f2py3.2 >>> >>> Here is the WSPR build: >>> >>> /downloads/hamradio/digital/wsjt/4795wsprB/wspr >>> >>> 73 >>> >>> Alan VK2ZIW >>> >>> On Fri, 19 Dec 2014 22:54:02 -0700, ki7mt wrote >>>> Hi Alan, >>>> >>>> After a bit of poking around, I'm surprised you got as far as you did. >>>> >From the looks of things, I may be logged into the wrong box or something. >>>> >>>> Here is what I found thus far: >>>> >>>> * I could nto find a WSPR install directory /downloads/hamradio, they >>>> were all listed as wsjt. 4336 was the latested labeled folder, and that >>>> was definitely WSJT, not WSPR, so I don't know where WSPR is hiding. >>>> >>>> * python-numpy is installed (py2 build), that needs to be removed >>>> >>>> * python3-numpy is v1.6. Sice the shift to Python3, the oldest >>>> version of Numpy that I've gotten to work, both Linux and Windows, >>>> is 1.8.0, others may have different results. >>>> >>>> * Pip doesn't seem to be working correctly. ( pip-3.2 list ) should pull >>>> the package list, but it doesn't seem to be working that way on your >>>> box, I'm not sure what's up with that one. Maybe it's different on those >>>> distro's. >>>> >>>> * you have (4) F2PY files in the /usr/bin directory: >>>> -- /usr/bin/f2py <-- not sure if this is a py2 or py3 build. >>>> -- /usr/bin/f2py2.6 >>>> -- /usr/bin/f2py2.7 >>>> -- /usr/bin/f2py3.2 >>>> >>>> * f2py3.2 is working from the command line. Both in terms of version >>>> information and f2py -c --help-fcompiler. Adding it to the autogen >>>> command, as I stated before, should pick this up. I tested 3 >>>> different locations on my box, all passed, without having python3- >>>> numpy installed from the Ubuntu repo's, I built it from source in >>>> each location. >>>> >>>> * Wheezy does not have any of the required python3-*imiging* >>>> packages: python3-imaging* <-- Nil python-imaging-tk* <-- Nil >>>> python3-pil <-- Nil python-pillow <-- Nil >>>> >>>> At least, not accessible from the command-line via apt or that I >>>> could find. >>>> >>>> PIL is the problem I spoke of when working with Ross on Debian Wheezy >>>> with his RaspberryPi. Other than trying to build them from source ( not >>>> fun ), I don't know of a work around for this, other than *maybe* a >>>> backport from Jessie. >>>> >>>> * Gcc / gfortran is 4.6. I've not tested 4.6 on any of the WSJT apps. >>>> Earliest I've tested, was 4.7 on WSJT-X. I'm not certain this is an >>>> issue, but its a potential issue. >>>> >>>> * General Caution, installing packages using PIP is risky business, >>>> especially on a Debian / Ubuntu distro outside of a virtualenv. If >>>> you decide to go that route for dependencies, be prepared to back >>>> them out or have issues. >>>> >>>> That's all I could find at the moment. >>>> >>>> 73's >>>> Greg, KI7MT >>>> >>>> On 12/19/2014 09:35 PM, Alan VK2ZIW wrote: >>>>> Hi Joe and all, >>>>> >>>>> WSPR on ARM (Bananian 2013-12-02) crashed after 15 hours. >>>>> >>>>> Banana Pi Build notes: >>>>> >>>>> Wrote SD card, did: >>>>> bananian-update >>>>> bananian-config set root password etc.. >>>>> Wanted GUI: >>>>> apt-get install task-lxde-desktop >>>>> Reboot, GUI came up. >>>>> vi /etc/login.defs set UMASK 002 >>>>> Add group tims, user alanb wsjtdev >>>>> apt-cache pkgnames > apt1 >>>>> apt-get install python3-dev python3-setuptools libtiff4-dev libjpeg8-dev >>>>> zlib1g-dev \ >>>>> liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk libfreetype6-dev >>>>> subversion \ >>>>> libfftw3-dev gfortran libsamplerate0-dev libportaudio2 portaudio19-dev > autogen >>>>> automake \ >>>>> python3-pip python3-all-dev build-essential tightvncserver xrdp python3-tk >>>>> python3-numpy >>>>> >>>>> # No f2py3 not found by "autogen.sh" and not in "pip3 search f2py" pulled >>>>> binary from F21. But, was there called "/usr/bin/f2py3.2". >>>>> >>>>> Remote login. Is setup, same password etc.. >>>>> >>>>> Alan VK2ZIW >>>>> >>>>> >>>>> >>>>> On Fri, 19 Dec 2014 19:20:37 +0000, KI7MT wrote >>>>>> Hi Alan, >>>>>> >>>>>> I'm not sure where FD 21 puts f2py, but Wheezy add it's to: >>>>>> >>>>>> /usr/bin/f2py3.2 >>>>>> >>>>>> Armel: https://packages.debian.org/wheezy/armel/python3- >>>>>> numpy/filelist Armhf: >>>>>> https://packages.debian.org/wheezy/armhf/python3-numpy/filelist >>>>>> >>>>>> I added a couple ac_arg_with statements to configure.ac. I can't log >>>>>> into your box to test his, but, when you have time, try running >>>>>> ./autogen.sh with: >>>>>> >>>>>> ./autogen.sh --with-f2py=<path-to-f2py> --with-python3=<path-to-python3> >>>>>> >>>>>> The path statements need to include the file name, so if your f2py file >>>>>> name is f2py.py, the path would be something like: >>>>>> >>>>>> --with-f2py=/usr/bin/f2py.py or wherever you've installed it. >>>>>> >>>>>> As a side note, Debian Wheezy has python3-numpy, so I'm not sure why >>>>>> you needed to copy it over from from Fedora. If at all possible, you >>>>>> install python3-numpy form your Bananian (Wheezy) distro, which >>>>>> should yield /usr/bin/f2py3.2. >>>>>> >>>>>> 73's >>>>>> Greg, KI7MT >>>>>> >>>>>> On 12/19/2014 12:16, Alan VK2ZIW wrote: >>>>>>> Hi Joe and all, >>>>>>> >>>>>>> Now running Bananian (wheezy) and apart from no "f2py3" which >>>>>>> I copied from Fedora 21, "autogen.sh" didn't pickup the "no f2py3". >>>>>>> WSPR SVN 4795 >>>>>>> "top" >>>>>>> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND >>>>> >>>>>>> 12854 alanb 20 0 264m 90m 8212 S 4.0 10.4 2:15.13 python3 >>>>> >>>>>>> 6199 alanb 20 0 9776 7540 1828 S 1.0 0.8 0:36.95 Xvnc >>>>>>> >>>>>>> Hardware: Banana Pi >>>>>>> O/S: Bananian 2014-12-04 (wheezy) >>>>>>> >>>>>>> No funny business, running on SD card. "dev" was done on SATA disk, >>>>>>> where >>>>>>> the WSJT binaries & python resides for the run test. >>>>>>> >>>>>>> We'll see after a long run. >>>>>>> >>>>>>> Alan VK2ZIW >>>>>>> >>>>>>> On Thu, 18 Dec 2014 22:08:43 -0500, Joe Taylor wrote >>>>>>>> Alan -- >>>>>>>> >>>>>>>> For several years already the SVN repository has included two >>>>>>>> lightweight WSPR tools: >>>>>>>> >>>>>>>> wspr0.exe >>>>>>>> wspr_nogui.py >>>>>>>> >>>>>>>> If running on minimal hardware is a high-priority goal for you (or >>>>>>>> for your balloonists, or ???) have you considered either of these? >>>>>>>> >>>>>>>> These programs have not received much attention of late, but should >>>>>>>> be relatively easy to make functional and useful to play with. The >>>>>>>> first one, in particular, is *extremely* lightweight. >>>>>>>> >>>>>>>> -- Joe, K1JT >>>>>>>> >>>>>>>> On 12/18/2014 1:54 PM, Alan VK2ZIW wrote: >>>>>>>>> Yes Joe, >>>>>>>>> >>>>>>>>> We'll let you know what we find. >>>>>>>>> >>>>>>>>> And yes, I'm using ARMv7 hardware, because size of equipment >>>>>>>>> and power are VERY important. >>>>>>>>> >>>>>>>>> How many hams in India could afford to run a 100W PC 24x7 >>>>>>>>> for WSPR? >>>>>>>>> >>>>>>>>> That's $300 per year here in Australia. >>>>>>>>> >>>>>>>>> Can you fly a Windows x86 PC in a balloon? >>>>>>>>> >>>>>>>>> We MUST consider, as developers, the use or our products. >>>>>>>>> >>>>>>>>> BTW: I quite clearly specified the hardware and O/S with problems. >>>>>>>>> >>>>>>>>> 73 >>>>>>>>> >>>>>>>>> Alan VK2ZIW >>>>>>>> > ------------------------------------------------------------------------------ >>>>>>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>>>>>>> from Actuate! Instantly Supercharge Your Business Reports and >>>>>>>> Dashboards >>>>>>>> with Interactivity, Sharing, Native Excel Exports, App Integration & >>>>>>>> more Get technology previously reserved for billion-dollar >>>>>>>> corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk >>>>>>>> _______________________________________________ >>>>>>>> wsjt-devel mailing list >>>>>>>> wsjt-devel@lists.sourceforge.net >>>>>>>> https://lists.sourceforge.net/lists/listinfo/wsjt-devel >>>>>>> >>>>>>> Alan >>>>>>> >>>>>>> Man's greatest waste of time: Worshipping the wrong God. >>>>>>> Consider Jesus. >>>>>>> > --------------------------------------------------------------------------- >>>>>>> Alan Beard Unix Support Technician from 1984 to today >>>>>>> 70 Wedmore Rd. Sun Solaris, AIX, HP/UX, Linux, SCO OpenServer >>> 5.0.X >>>>>>> Emu Heights N.S.W. 2750 Routers, terminal servers, printers, terminals >>> etc.. >>>>>>> +61 2 47353013 (h) Support Programming, shell scripting, "C", >>> assembler >>>>>>> 0414 353013 (mobile) After uni, electr >>>>>>> >>>>>>> >>>>>>> >>> ------------------------------------------------------------------------------ >>>>>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>>>>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >>>>>>> with Interactivity, Sharing, Native Excel Exports, App Integration & >>>>>>> more >>>>>>> Get technology previously reserved for billion-dollar corporations, FREE >>>>>>> > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk >>>>>>> _______________________________________________ >>>>>>> wsjt-devel mailing list >>>>>>> wsjt-devel@lists.sourceforge.net >>>>>>> https://lists.sourceforge.net/lists/listinfo/wsjt-devel >>>>>>> >>>>>> -- >>>>>> 73's >>>>>> Greg, KI7MT >>>>>> >>>>>> >>> ------------------------------------------------------------------------------ >>>>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>>>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >>>>>> with Interactivity, Sharing, Native Excel Exports, App Integration & >>>>>> more Get technology previously reserved for billion-dollar >>>>>> corporations, FREE >>>>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk >>>>>> _______________________________________________ >>>>>> wsjt-devel mailing list >>>>>> wsjt-devel@lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/wsjt-devel >>>>> >>>>> Alan >>>>> >>>>> Man's greatest waste of time: Worshipping the wrong God. >>>>> Consider Jesus. >>>>> --------------------------------------------------------------------------- >>>>> Alan Beard Unix Support Technician from 1984 to today >>>>> 70 Wedmore Rd. Sun Solaris, AIX, HP/UX, Linux, SCO OpenServer > 5.0.X >>>>> Emu Heights N.S.W. 2750 Routers, terminal servers, printers, terminals > etc.. >>>>> +61 2 47353013 (h) Support Programming, shell scripting, "C", > assembler >>>>> 0414 353013 (mobile) After uni, electr >>>>> >>>>> >>>>> > ------------------------------------------------------------------------------ >>>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >>>>> with Interactivity, Sharing, Native Excel Exports, App Integration & more >>>>> Get technology previously reserved for billion-dollar corporations, FREE >>>>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk >>>>> _______________________________________________ >>>>> wsjt-devel mailing list >>>>> wsjt-devel@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/wsjt-devel >>>>> >>>> -- >>>> ------------------------------------------------------------- >>>> The worth of man in reveled in his attitude to ordinary things >>>> when he is not before the footlights. (cf John 1:36) >>>> Oswald Chambers >>>> >>>> > ------------------------------------------------------------------------------ >>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >>>> with Interactivity, Sharing, Native Excel Exports, App Integration & >>>> more Get technology previously reserved for billion-dollar >>>> corporations, FREE >>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk >>>> _______________________________________________ >>>> wsjt-devel mailing list >>>> wsjt-devel@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/wsjt-devel >>> >>> Alan >>> >>> Man's greatest waste of time: Worshipping the wrong God. >>> Consider Jesus. >>> --------------------------------------------------------------------------- >>> Alan Beard Unix Support Technician from 1984 to today >>> 70 Wedmore Rd. Sun Solaris, AIX, HP/UX, Linux, SCO OpenServer >>> 5.0.X >>> Emu Heights N.S.W. 2750 Routers, terminal servers, printers, terminals >>> etc.. >>> +61 2 47353013 (h) Support Programming, shell scripting, "C", >>> assembler >>> 0414 353013 (mobile) After uni, electr >>> >>> >>> ------------------------------------------------------------------------------ >>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >>> with Interactivity, Sharing, Native Excel Exports, App Integration & more >>> Get technology previously reserved for billion-dollar corporations, FREE >>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> wsjt-devel mailing list >>> wsjt-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/wsjt-devel >>> >> -- >> ------------------------------------------------------------- >> The worth of man in reveled in his attitude to ordinary things >> when he is not before the footlights. (cf John 1:36) >> Oswald Chambers >> >> ------------------------------------------------------------------------------ >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & >> more Get technology previously reserved for billion-dollar >> corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk >> _______________________________________________ >> wsjt-devel mailing list >> wsjt-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wsjt-devel > > Alan > > Man's greatest waste of time: Worshipping the wrong God. > Consider Jesus. > --------------------------------------------------------------------------- > Alan Beard Unix Support Technician from 1984 to today > 70 Wedmore Rd. Sun Solaris, AIX, HP/UX, Linux, SCO OpenServer 5.0.X > Emu Heights N.S.W. 2750 Routers, terminal servers, printers, terminals etc.. > +61 2 47353013 (h) Support Programming, shell scripting, "C", assembler > 0414 353013 (mobile) After uni, electr > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > _______________________________________________ > wsjt-devel mailing list > wsjt-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wsjt-devel ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ wsjt-devel mailing list wsjt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wsjt-devel