Kivi Installation Problems on OS X Mountain Lion

38 views
Skip to first unread message

Paul Griffith

unread,
Sep 16, 2015, 3:55:36 PM9/16/15
to Kivy users support
I want to explore and learn Kivi. I downloaded 1.9.0 from the download page and installed it. Unfortunately it fails the basic test on the User Guide installation-macosx page:

Pauls-Mac-mini:Kivy paul$ kivy
Python 2.7.2 (default, Oct 11 2012, 20:14:37) 
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import kivy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Applications/Kivy.app/Contents/Resources/kivy/kivy/__init__.py", line 38, in <module>
    from kivy.logger import Logger, LOG_LEVELS
  File "/Applications/Kivy.app/Contents/Resources/kivy/kivy/logger.py", line 61, in <module>
    from random import randint
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/random.py", line 47, in <module>
ImportError: cannot import name urandom

I looked in the folder referred to in the last message. It contains many pairs of files with .pyc and .pyo suffixes (including random.pyc and random.pyo) but no .py files.

Any suggestions?

My Mac runs OS X 10.8.5 (Mountain Lion). Should I be using a different version of Kivi for OS X 10.8? If so, where can I find it?

Also, the Kivi .dmg file does not contain a Readme.txt file or an Examples folder. Is the documentation wrong?

Thanks for your help.
Reply all
Reply to author
Forward
0 new messages