In response to several requests for info, I got the following

/*john@OptiPlex ~ $ python -V*//*
*//*Python 2.7.6*/

/*john@OptiPlex ~ $ python -c "exec(\"import urllib2\\nprint urllib2.__version__\")"*//*
*//*2.7*/

/*john@OptiPlex ~  $ curl -L "http://earthquake.usgs.gov/fdsnws/event/1/query?limit=1&lat=37.212907&lon=-89.529325&maxradiuskm=1000&format=geojson&nodata=204&minmag=2"*//* *//*{"type":"FeatureCollection","metadata":{"generated":1536699478000,"url":"https://earthquake.usgs.gov/fdsnws/event/1/query?limit=1&lat=37.212907&lon=-89.529325&maxradiuskm=1000&format=geojson&nodata=204&minmag=2","title":"USGS Earthquakes","status":200,"api":"1.5.8","limit":1,"offset":1,"count":1},"features":[{"type":"Feature","properties":{"mag":3.3,"place":"27km WSW of Perry, Oklahoma","time":1536682289070,"updated":1536689583628,"tz":-360,"url":"https://earthquake.usgs.gov/earthquakes/eventpage/us2000hcrq","detail":"https://earthquake.usgs.gov/fdsnws/event/1/query?eventid=us2000hcrq&format=geojson","felt":2,"cdi":2,"mmi":null,"alert":null,"status":"reviewed","tsunami":0,"sig":168,"net":"us","code":"2000hcrq","ids":",us2000hcrq,","sources":",us,","types":",dyfi,geoserve,origin,phase-data,","nst":null,"dmin":0.28,"rms":0.09,"gap":48,"magType":"mb_lg","type":"earthquake","title":"M 3.3 - 27km WSW of Perry, Oklahoma"},"geometry":{"type":"Point","coordinates":[-97.5769,36.2113,3.79]},"id":"us2000hcrq"}]}john@OptiPlex ~/Downloads $ *//*
*/

/*john@OptiPlex ~  $ dpkg -s openssl | grep '^Version:'*//*
*//*Version: 1.0.1f-1ubuntu2.26*/

On 9/10/2018 5:55 PM, Pat wrote:
I'm am thinking a sudo apt update python will fix it....
Before you do that, what is the output of

|
python -V
|

and

|
dpkg -s openssl |grep '^Version:'
|

So I did the following

/*john@OptiPlex ~ $ sudo apt update python*//*
*//*[sudo] password for john: *//*
*//*E: The update command takes no arguments*//*
*//*
*//*john@OptiPlex ~ $ sudo apt update*//*
*//*Hit http://security.ubuntu.com trusty-security InRelease*//*
*//*Hit http://security.ubuntu.com trusty-security/main amd64 Packages *//*
*//*Hit http://linux.teamviewer.com stable InRelease *//*
*//*Ign http://archive.ubuntu.com trusty InRelease *//*
*//*Ign http://archive.canonical.com trusty InRelease *//*
*//*Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages *//*
*//*Hit http://linux.teamviewer.com preview InRelease *//*
*//*Hit http://security.ubuntu.com trusty-security/universe amd64 Packages     (with many more, snipped for brevity)*/

and am still on 2.7.6. Doing a bit of looking around I came upon


/*Python 2.7.15*//*
*//*Release Date: 2018-05-01*//*
*//*Python 2.7.15 is a bugfix release in the Python 2.7 series.

*/so I downloaded both /*

/home/john/Downloads/Python-2.7.15.tar.xz
/home/john/Downloads/Python-2.7.15.tgz

*/just to be sure. So my question now is do I do a "sudo apt-get upgrade" or do I upgrade/install one of these (I really don't want to break something) or is there another, potentially less perilous alternative I should consider?


On Monday, September 10, 2018 at 6:51:33 PM UTC-4, John Clark wrote:

    Must have missed the memo. Yes I am at

    |/*john@OptiPlex ~ $ python -c "exec(\"import urllib2\\nprint
    urllib2.__version__\")"*//*
    *//*2.7*/

     so.... sudo apt-get update python?

    living about 50 miles from New Madrid, Mo where there were five
    earthquakes at 8.0 or better in the early 1800's, I do have some
    small earthquake curiosity.|


--
*/John Clark <mailto:[email protected]>/*

--
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to