[GRASS-user] GRASS and Python3

Rich Shepard rshepard at appl-ecosys.com
Mon Dec 28 06:40:30 PST 2020


On Mon, 28 Dec 2020, Markus Neteler wrote:

> Yes (and some distros already removed Python 2 entirely)

Markus,

Supposedly, Slackware-15.0 is to be released Real Soon Now.

> On my Fedora 33 box I have removed all python2-* packages [1]. The GUI
> comes up as expected, using python3-six.
>
> Another test:
>
> python3
> Python 3.9.0 (default, Oct  6 2020, 00:00:00)
> [GCC 10.2.1 20200826 (Red Hat 10.2.1-3)] on linux
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import six
>>>>
>
> ... all fine.

Then something's wrong here:

$ python3
Python 3.9.1 (default, Dec 26 2020, 11:21:00) 
[GCC 5.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import six
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'six'
>>>

> The question is what your Slackware (what you are using, AFAIK) six
> packages actually contains.
>
> Here the content of the Fedora python3-six package:
...

$ locate python3-six
/usr/doc/python3-six-1.13.0
/usr/doc/python3-six-1.13.0/CHANGES
/usr/doc/python3-six-1.13.0/LICENSE
/usr/doc/python3-six-1.13.0/python3-six.SlackBuild
/usr/doc/python3-six-1.13.0/README.rst
/var/lib/sbopkg/queues/python3-six.sqf
/var/lib/sbopkg/SBo/14.2/python/python3-six.tar.gz.asc
/var/lib/sbopkg/SBo/14.2/python/python3-six
/var/lib/sbopkg/SBo/14.2/python/python3-six/python3-six.info
/var/lib/sbopkg/SBo/14.2/python/python3-six/README
/var/lib/sbopkg/SBo/14.2/python/python3-six/slack-desc
/var/lib/sbopkg/SBo/14.2/python/python3-six/python3-six.SlackBuild
/var/lib/sbopkg/SBo/14.2/python/python3-six.tar.gz
/var/log/removed_packages/python3-six-1.13.0-x86_64-1_SBo-upgraded-2020-04-26,10:05:09
/var/log/removed_packages/python3-six-1.12.0-x86_64-1_SBo-upgraded-2019-11-23,16:18:00
/var/log/packages/python3-six-1.13.0-x86_64-1_SBo
/opt/slackbuilds/Python/python3-six
/opt/slackbuilds/Python/python3-six/six-1.13.0.tar.gz
/opt/slackbuilds/Python/python3-six/slack-desc
/opt/slackbuilds/Python/python3-six/README
/opt/slackbuilds/Python/python3-six/python3-six.info
/opt/slackbuilds/Python/python3-six/python3-six.SlackBuild

I'm not sure what to do about this. I'll further pursue this on the
SlackBuilds.org mail list.

Stay well and Happy New Year,

Rich


More information about the grass-user mailing list