[GRASS-dev] missing dependency on Ubuntu

Hi,

I just installed GRASS7.8.2 from packages on Ubuntu bionic (18.04) and g.extension fails with
ModuleNotFoundError: No module named ‘distutils.dir_util’

It is confusing, because distutils are part of standard Python, but that particular import failed.
I had to install python3-distutils package to fix that. I suppose python3-distutils should be added as a dependency?

Anna

Hi Anna,

Thanks for the feedback, I will add the dependency.

Best,
Angelos

On 1/15/20 4:51 PM, Anna Petrášová wrote:

Hi,

I just installed GRASS7.8.2 from packages on Ubuntu bionic (18.04) and
g.extension fails with
ModuleNotFoundError: No module named 'distutils.dir_util'

It is confusing, because distutils are part of standard Python, but that
particular import failed.
I had to install python3-distutils package to fix that. I suppose
python3-distutils should be added as a dependency?

Anna

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

--
Angelos Tzotsos, PhD
Charter Member
Open Source Geospatial Foundation
http://users.ntua.gr/tzotsos

On 1/15/20 4:12 PM, Angelos Tzotsos wrote:

Thanks for the feedback, I will add the dependency.

cherry-pick this:

https://salsa.debian.org/debian-gis-team/grass/commit/c14b137bef39ef2aa9bc27b5f658259dfb582ff8

Kind Regards,

Bas

--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1

On 1/15/20 3:51 PM, Anna Petrášová wrote:

It is confusing, because distutils are part of standard Python, but that
particular import failed.

distutils was moved to the python3-stdlib-extensions package in
3.6.4~rc1-2, this source package also includes tk, gdbm & lib2to3.

Kind Regards,

Bas

--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1

Thanks Bas.

On 1/15/20 5:21 PM, Sebastiaan Couwenberg wrote:

On 1/15/20 4:12 PM, Angelos Tzotsos wrote:

Thanks for the feedback, I will add the dependency.

cherry-pick this:

  https://salsa.debian.org/debian-gis-team/grass/commit/c14b137bef39ef2aa9bc27b5f658259dfb582ff8

Kind Regards,

Bas

--
Angelos Tzotsos, PhD
Charter Member
Open Source Geospatial Foundation
http://users.ntua.gr/tzotsos

New package in UbuntuGIS experimental. I will copy to Unstable in a while.

On 1/15/20 6:09 PM, Angelos Tzotsos wrote:

Thanks Bas.

On 1/15/20 5:21 PM, Sebastiaan Couwenberg wrote:

On 1/15/20 4:12 PM, Angelos Tzotsos wrote:

Thanks for the feedback, I will add the dependency.

cherry-pick this:

https://salsa.debian.org/debian-gis-team/grass/commit/c14b137bef39ef2aa9bc27b5f658259dfb582ff8

Kind Regards,

Bas

--
Angelos Tzotsos, PhD
Charter Member
Open Source Geospatial Foundation
http://users.ntua.gr/tzotsos

Thanks for the quick response!

Anna

On Wed, Jan 15, 2020 at 4:24 PM Angelos Tzotsos <gcpp.kalxas@gmail.com> wrote:

New package in UbuntuGIS experimental. I will copy to Unstable in a while.

On 1/15/20 6:09 PM, Angelos Tzotsos wrote:

Thanks Bas.

On 1/15/20 5:21 PM, Sebastiaan Couwenberg wrote:

On 1/15/20 4:12 PM, Angelos Tzotsos wrote:

Thanks for the feedback, I will add the dependency.
cherry-pick this:

https://salsa.debian.org/debian-gis-team/grass/commit/c14b137bef39ef2aa9bc27b5f658259dfb582ff8

Kind Regards,

Bas


Angelos Tzotsos, PhD
Charter Member
Open Source Geospatial Foundation
http://users.ntua.gr/tzotsos


grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev