Trouble installing pyobjus

23 views
Skip to first unread message

Val

unread,
Sep 1, 2016, 4:51:32 AM9/1/16
to Kivy users support
Hi,

I got trouble installing pyobjus on Ubuntu 16.04 (with Cython 0.23 installed).
I cloned the github project and did python setup.py install

It returned the following error:

  File "setup.py", line 60, in <module>
    cmdclass={'build_ext': build_ext},
NameError: name 'build_ext' is not defined

It seems that build_ext can't be imported (build.py +15)

# OSX
if dev_platform == 'darwin':
    try:
        from Cython.Distutils import build_ext
    except ImportError:
        raise
    files = ['pyobjus.pyx')
# IOS
elif dev_platform == 'ios':
    from distutils.command.build_ext import build_ext
    files = ['pyobjus.c']

What happens ?
Thanks !



Reply all
Reply to author
Forward
0 new messages