Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-20 Thread Chris Angelico
On Fri, Aug 21, 2020 at 9:20 AM Cameron Simpson wrote: > > On 21Aug2020 04:00, Chris Angelico wrote: > >Fortunately, the *next* release of Ubuntu fixes this: > > > >https://packages.ubuntu.com/groovy/mercurial > > > >It depends on Python 3.8 instead. No idea why the 20.04 release insists > >on 2.

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-20 Thread Cameron Simpson
On 21Aug2020 04:00, Chris Angelico wrote: >Fortunately, the *next* release of Ubuntu fixes this: > >https://packages.ubuntu.com/groovy/mercurial > >It depends on Python 3.8 instead. No idea why the 20.04 release insists >on 2.7. I would guess they didn't have the resources to regression test the

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-20 Thread Cameron Simpson
On 20Aug2020 18:13, Chris Green wrote: >Cameron Simpson wrote: >> On 19Aug2020 08:53, Chris Green wrote: >> >Maybe I should bite the bullet and make Python 3 the default Python >> >and see what falls over as a consequence. >> >> Don't change the system default Python - many system scripts rely o

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-20 Thread Chris Green
Chris Angelico wrote: > On Fri, Aug 21, 2020 at 3:21 AM Chris Green wrote: > > It's actually more subtle and complicated than the OS changing or not > > changing the default Python version. There are quite a lot of > > questions about exactly this on the Ubuntu lists. All the OS python > > code

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-20 Thread Chris Angelico
On Fri, Aug 21, 2020 at 3:21 AM Chris Green wrote: > It's actually more subtle and complicated than the OS changing or not > changing the default Python version. There are quite a lot of > questions about exactly this on the Ubuntu lists. All the OS python > code in Ubuntu 20.04 is now Python 3

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-20 Thread Chris Green
Cameron Simpson wrote: > On 19Aug2020 08:53, Chris Green wrote: > >I have quite a lot of things installed with pip, however I've never > >had this problem with dependencies before. Adding to the fun is that > >my system has still got Python 2 as the default Python so I have to > >run pip3 explic

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-20 Thread Vincent Vande Vyvre
Le 20/08/20 à 09:07, Robin Becker a écrit : > . >>> so obviously I need to install some version of boost libs or >>> Boost.Python etc etc. Gave up :( >>> -luddite-ly yrs- >>> Robin Becker >>> >> The aur repository, no ? >> >> https://aur.archlinux.org/packages/python-exiv2/ >> >> Vincent >>

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-20 Thread Robin Becker
. so obviously I need to install some version of boost libs or Boost.Python etc etc. Gave up :( -luddite-ly yrs- Robin Becker The aur repository, no ? https://aur.archlinux.org/packages/python-exiv2/ Vincent that would work (if I had thought hard about it), but not for a pip instal

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-19 Thread Cameron Simpson
On 19Aug2020 08:53, Chris Green wrote: >I have quite a lot of things installed with pip, however I've never >had this problem with dependencies before. Adding to the fun is that >my system has still got Python 2 as the default Python so I have to >run pip3 explicitly to get Python 3 code. My app

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-19 Thread Vincent Vande Vyvre
Le 19/08/20 à 10:15, Robin Becker a écrit : > On 18/08/2020 20:05, Vincent Vande Vyvre wrote: > . >>> >> Hi, >> >> Two solutions: >> 1. Install exiv2-dev and py3exiv2 with pip >> $ sudo apt-get install libexiv2-dev >> $ sudo pip3 install py3exiv2 >> >> 2. Install my ppa >>    

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-19 Thread Chris Green
Robin Becker wrote: > On 18/08/2020 20:05, Vincent Vande Vyvre wrote: > . > >> > > Hi, > > > > Two solutions: > > 1. Install exiv2-dev and py3exiv2 with pip > >     $ sudo apt-get install libexiv2-dev > >     $ sudo pip3 install py3exiv2 > > > > 2. Install my ppa > >     $ sudo ad

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-19 Thread Chris Green
Vincent Vande Vyvre wrote: > Le 18/08/20 à 19:22, Chris Green a écrit : > > I have a fairly simple Python program that I wrote a while ago in > > Python 2 that transfers images from my camera to a date ordered > > directory hierarchy on my computer. > > > > I am trying to get it to work on Python

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-19 Thread Robin Becker
On 18/08/2020 20:05, Vincent Vande Vyvre wrote: . Hi, Two solutions: 1. Install exiv2-dev and py3exiv2 with pip     $ sudo apt-get install libexiv2-dev     $ sudo pip3 install py3exiv2 2. Install my ppa     $ sudo add-apt-repository ppa:vincent-vandevyvre/vvv     $ sudo apt-ge

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-19 Thread Chris Green
Chris Angelico wrote: > On Wed, Aug 19, 2020 at 3:36 AM Chris Green wrote: > > > > I have a fairly simple Python program that I wrote a while ago in > > Python 2 that transfers images from my camera to a date ordered > > directory hierarchy on my computer. > > > > I am trying to get it to work on

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-18 Thread Vincent Vande Vyvre
Le 18/08/20 à 19:22, Chris Green a écrit : > I have a fairly simple Python program that I wrote a while ago in > Python 2 that transfers images from my camera to a date ordered > directory hierarchy on my computer. > > I am trying to get it to work on Python 3 as I have just upgraded to > Ubuntu 20

Re: Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-18 Thread Chris Angelico
On Wed, Aug 19, 2020 at 3:36 AM Chris Green wrote: > > I have a fairly simple Python program that I wrote a while ago in > Python 2 that transfers images from my camera to a date ordered > directory hierarchy on my computer. > > I am trying to get it to work on Python 3 as I have just upgraded to

Finding it very difficult to move pyexiv2 code from Python 2 to Python 3

2020-08-18 Thread Chris Green
I have a fairly simple Python program that I wrote a while ago in Python 2 that transfers images from my camera to a date ordered directory hierarchy on my computer. I am trying to get it to work on Python 3 as I have just upgraded to Ubuntu 20.04 and on that Python 3 is now the default version of