On Ubuntu 20.04.3 LTS, I try to install pdfarranger [1] as follows but failed:
$ sudo apt-get install python3-pip python3-distutils-extra \
python3-wheel python3-gi python3-gi-cairo
\
gir1.2-gtk-3.0 gir1.2-poppler-0.18
python3-setuptools
$ git clone https://github.com/pdfarranger/pdfarranger.git pdfarranger.git
$ cd pdfarranger.git
$ pyenv shell 3.8.3
$ pyenv virtualenv --system-site-packages pdfarranger
$ pyenv shell pdfarranger
$ pip install -U pip
$ ./setup.py build
Traceback (most recent call last):
File "./setup.py", line 24, in <module>
from DistUtilsExtra.command import (
ModuleNotFoundError: No module named 'DistUtilsExtra'
See the following for the package list installed in this virtualenv:
$ pip list
Package Version
---------- ------------
pip 21.3.1
pyfiglet 0.8.post1
setuptools 41.2.0
vtk 9.0.20200612
Any hints for fixing this problem? Also see here [2-3] for relevant discussions.
[1] https://github.com/pdfarranger/pdfarranger
[2] https://github.com/pdfarranger/pdfarranger/issues/604
[3]
https://discuss.python.org/t/modulenotfounderror-no-module-named-distutilsextra/12834
Regards,
HZ
--
https://mail.python.org/mailman/listinfo/python-list