Unable to upgrade standardebooks tools (Ubuntu 20.04)

19 views
Skip to first unread message

David Gross

unread,
May 31, 2023, 12:48:52 PM5/31/23
to Standard Ebooks
Can anyone help me get past this error? I'm following the instructions at the repo. I've also tried deleting ~/.local/pipx first as per some suggestions in old threads on this list.

$ pipx install standardebooks
  error: subprocess-exited-with-error
  × python setup.py egg_info did not run successfully.
  ...
  File "/tmp/pip-install-fahktkdy/standardebooks_4306fb830913452c93e217b525b6c5f4/setup.py", line 41, in <module>
          setup(
  File "/home/dgross/.local/pipx/shared/lib/python3.8/site-packages/setuptools/__init__.py", line 107, in setup
          return distutils.core.setup(**attrs)
   ...
AttributeError: type object 'Distribution' has no attribute '_finalize_feature_opts'
$ python3 --version
Python 3.8.16
$ pipx --version
0.15.5.1
$ uname -a
Linux academy 5.15.0-72-generic #79~20.04.1-Ubuntu SMP Thu Apr 20 22:12:07 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Alex Cabal

unread,
May 31, 2023, 2:21:06 PM5/31/23
to standar...@googlegroups.com
Maybe this error? https://github.com/pypa/setuptools/issues/2029

Maybe your version of setuptools is too old?

On 5/31/23 11:48 AM, David Gross wrote:
> Can anyone help me get past this error? I'm following the instructions
> <https://github.com/standardebooks/tools#ubuntu-2004-trusty-users> at
> the repo. I've also tried deleting ~/.local/pipx first as per some
> suggestions in old threads on this list.
>
> $ *pipx install standardebooks*
>   error: subprocess-exited-with-error
>   × python setup.py egg_info did not run successfully.
>   ...
>   File
> "/tmp/pip-install-fahktkdy/standardebooks_4306fb830913452c93e217b525b6c5f4/setup.py", line 41, in <module>
>           setup(
>   File
> "/home/dgross/.local/pipx/shared/lib/python3.8/site-packages/setuptools/__init__.py", line 107, in setup
>           return distutils.core.setup(**attrs)
>    ...
> AttributeError: type object 'Distribution' has no attribute
> '_finalize_feature_opts'
> $ *python3 --version*
> Python 3.8.16
> $ *pipx --version*
> 0.15.5.1
> $ *uname -a*
> Linux academy 5.15.0-72-generic #79~20.04.1-Ubuntu SMP Thu Apr 20
> 22:12:07 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
>
> --
> You received this message because you are subscribed to the Google
> Groups "Standard Ebooks" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to standardebook...@googlegroups.com
> <mailto:standardebook...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/standardebooks/a22ccf95-3357-43ed-9e61-49d9ac55fb20n%40googlegroups.com <https://groups.google.com/d/msgid/standardebooks/a22ccf95-3357-43ed-9e61-49d9ac55fb20n%40googlegroups.com?utm_medium=email&utm_source=footer>.

David Gross

unread,
May 31, 2023, 2:28:39 PM5/31/23
to Standard Ebooks
$ python3 -c "import sys; import setuptools; print (setuptools.version.__version__)"
67.8.0


Is that too old?

Alex Cabal

unread,
May 31, 2023, 3:08:46 PM5/31/23
to standar...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages