View Single Post
Old 09-25-2015, 01:15 PM   #5
Raimond
Member
Raimond began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Nov 2010
Device: Sony PRS-600, Kindle Paperwhite
Ok, I'm back...

I've updated to ubuntu 15.04 which also solves the new python 2.7.9 dependency.

All other dependencies should be installed correctly (SIP 4.16.9, pyQT 5.4.1, QT 5.4.1)

When compiling calibre(2.38) I get the following error:

Code:
File "setup.py", line 13, in <module>
    import setup.commands as commands
  File "/home/odroid/Downloads/calibre-2.38.0/setup/commands.py", line 28, in <module>
    from setup.translations import POT, GetTranslations, Translations, ISO639, ISO3166
  File "/home/odroid/Downloads/calibre-2.38.0/setup/translations.py", line 14, in <module>
    from setup.parallel_build import parallel_check_output
  File "/home/odroid/Downloads/calibre-2.38.0/setup/parallel_build.py", line 14, in <module>
    from setup.build_environment import cpu_count
  File "/home/odroid/Downloads/calibre-2.38.0/setup/build_environment.py", line 107, in <module>
    glib_flags = subprocess.check_output([PKGCONFIG, '--libs', 'glib-2.0']).strip() if islinux else ''
  File "/usr/lib/python2.7/subprocess.py", line 566, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
AttributeError: 'NoneType' object has no attribute 'rfind'
I've spend the last hours on google but couldn't find a solution.

Maybe someone here could help?

Btw: what was the last version of calibre with python 2.7.1?

Rai
Raimond is offline   Reply With Quote