New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error install on Debian Buster (testing) #837

Closed
hyperclock opened this Issue Jun 9, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@hyperclock

hyperclock commented Jun 9, 2018

after install git-cola on Debian Buster, I got this message.

:~$ git-cola
Traceback (most recent call last):
  File "/usr/bin/git-cola", line 55, in <module>
    from cola.main import main
  File "/usr/share/git-cola/lib/cola/main.py", line 7, in <module>
    from . import app
  File "/usr/share/git-cola/lib/cola/app.py", line 13, in <module>
    from . import core
  File "/usr/share/git-cola/lib/cola/core.py", line 9, in <module>
    import distutils.spawn as spawn
ModuleNotFoundError: No module named 'distutils.spawn'

I took a lot of time searching, but this seems to fix it.

apt install python3-distutils

I'm not sure if it was just missing or just needs to installed as an extra depend starting with Deb10

@davvid

This comment has been minimized.

Show comment
Hide comment
@davvid

davvid Jun 9, 2018

Member

Good catch. I think I'll try to eliminate this external dependency. My guess is that distutils got moved out of the core in python3, whereas in python2 it was part of the main python package.

Member

davvid commented Jun 9, 2018

Good catch. I think I'll try to eliminate this external dependency. My guess is that distutils got moved out of the core in python3, whereas in python2 it was part of the main python package.

davvid added a commit to davvid/git-cola that referenced this issue Jun 10, 2018

README.md: mention python3-distutils for building
Related-to: #837
Signed-off-by: David Aguilar <davvid@gmail.com>

@davvid davvid closed this in 918d02d Jun 10, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment