setuptools ImportError
  • While trying to build Booktype from "Manual Installation on GNU/Linux" webpage http://sourcefabric.booktype.pro/booktype-23-for-authors-and-publishers/manual-installation-on-gnulinux/

    Section - Installing Booktype from the git repository
    I ran cli command - sudo easy_install -U setuptools

    The last line I see ImportError - File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2093, in load raise ImportError("%r has no %r attribute" % (entry,attr)) ImportError: <module 'setuptools.dist' from ' /usr/lib/python2.7/dist-packages/setuptools/dist.pyc'> has no 'check_specifier' attribute

    How do I fix this or ignore it? I don't see this command listed in the DigitalOcean instructions?

    Thanks
    648 x 262 - 11K
  • 4 Comments sorted by
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi Milton,

    Which GNU/Linux distro and version are you running please? We'd like to help you fix this.

    Cheers!

    Daniel
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    In the meantime I would recommend that you upgrade your local pip and setuptools:

    pip install -U pip
    sudo pip install setuptools --upgrade
    Post edited by Daniel James at 2018-01-22 07:18:58
  • Daniel,
    I am using:
    Distributor ID:    Ubuntu
    Description:    Ubuntu 14.04.5 LTS
    Release:    14.04
    Codename:    trusty
    Linux epub 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

    I will upgrade as you suggested and provide feedback

    Thank you,
    Milton
  • Daniel,
    Upgraded and Installed perfectly! Now I'll see how further down the road I can get...

    Thank very much,
    Milton