python ./garden install filebrowserTURBOLEGOs-MacBook-Pro:tools TURBOLEGO$ python -c 'import kivy; print(kivy.__path__)'
[INFO ] Kivy v1.8.1-dev
['/Library/Python/2.7/site-packages/kivy']
Please advise.
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
TURBOLEGOs-MacBook-Pro:kivy TURBOLEGO$ pip install kivy-garden
Requirement already satisfied (use --upgrade to upgrade): kivy-garden in /Library/Python/2.7/site-packages
Cleaning up...
TURBOLEGOs-MacBook-Pro:kivy TURBOLEGO$
TURBOLEGOs-MacBook-Pro:tools TURBOLEGO$ python garden install filebrowser
python: can't open file 'garden': [Errno 2] No such file or directory
Any ideas?
TURBOLEGOs-MacBook-Pro:tools TURBOLEGO$ garden install filebrowser
Garden tool require requests library.
Try to "pip install requests" in root
TURBOLEGOs-MacBook-Pro:tools TURBOLEGO$ sudo pip install requests
Password:
Downloading/unpacking requests
Downloading requests-2.2.1-py2.py3-none-any.whl (625kB): 625kB downloaded
Installing collected packages: requests
Successfully installed requests
Cleaning up...
And trying the command again:
garden install filebrowser
Downloading http://github.com/kivy-garden/garden.filebrowser/archive/master.zip ...
Done! garden.filebrowser is installed at: /Users/TURBOLEGO/.kivy/garden/garden.filebrowser
Cleaning...
Continuing the guide from: https://github.com/kivy/kivy-designer
git clone http://github.com/kivy/kivy-designer/
cd kivy-designer
python main.py
I get this error: "ImportError: No module named pygments"
Full output from terminal:
[INFO ] Kivy v1.8.1-dev
[INFO ] [Logger ] Record log in /Users/TURBOLEGO/.kivy/logs/kivy_14-02-03_3.txt
[INFO ] [Factory ] 157 symbols loaded
[DEBUG ] [Cache ] register <kv.lang> with limit=None, timeout=Nones
[DEBUG ] [Cache ] register <kv.image> with limit=None, timeout=60s
[DEBUG ] [Cache ] register <kv.atlas> with limit=None, timeout=Nones
[INFO ] [Image ] Providers: img_imageio, img_tex, img_dds, img_pygame, img_gif (img_pil ignored)
[DEBUG ] [Cache ] register <kv.texture> with limit=1000, timeout=60s
[DEBUG ] [Cache ] register <kv.shader> with limit=1000, timeout=3600s
[DEBUG ] [Window ] Ignored <egl_rpi> (import error)
[INFO ] [Window ] Provider: pygame(['window_egl_rpi'] ignored)
[DEBUG ] [Window ] Display driver Quartz
[DEBUG ] [Window ] Actual window size: 800x600
[DEBUG ] [Window ] Actual color bits r8 g8 b8 a8
[DEBUG ] [Window ] Actual depth bits: 24
[DEBUG ] [Window ] Actual stencil bits: 8
[DEBUG ] [Window ] Actual multisampling samples: 2
[INFO ] [GL ] OpenGL version <2.1 NVIDIA-8.18.28 310.40.05f01>
[INFO ] [GL ] OpenGL vendor <NVIDIA Corporation>
[INFO ] [GL ] OpenGL renderer <NVIDIA GeForce GT 330M OpenGL Engine>
[INFO ] [GL ] OpenGL parsed version: 2, 1
[INFO ] [GL ] Shading version <1.20>
[INFO ] [GL ] Texture max size <8192>
[INFO ] [GL ] Texture max units <16>
[DEBUG ] [Shader ] Fragment compiled successfully
[DEBUG ] [Shader ] Vertex compiled successfully
[DEBUG ] [ImageImageIO] Load </Library/Python/2.7/site-packages/kivy/data/glsl/default.png>
[INFO ] [GL ] BGRA texture support is available
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [Text ] Provider: pygame
[WARNING ] Call to deprecated function __call__ in /Library/Python/2.7/site-packages/kivy/utils.py line 246.Called from /Users/TURBOLEGO/.kivy/garden/garden.filebrowser/__init__.py line 77 by <module>().
[DEBUG ] [Cache ] register <kv.loader> with limit=500, timeout=60s
[INFO ] [Loader ] using a thread pool of 2 workers
[DEBUG ] [Cache ] register <textinput.label> with limit=None, timeout=60.0s
[DEBUG ] [Cache ] register <textinput.width> with limit=None, timeout=60.0s
Traceback (most recent call last):
File "main.py", line 2, in <module>
from designer.app import DesignerApp
File "/Users/TURBOLEGO/kivy/kivy/tools/kivy-designer/designer/app.py", line 29, in <module>
from designer.uix.kv_lang_area import KVLangArea
File "/Users/TURBOLEGO/kivy/kivy/tools/kivy-designer/designer/uix/kv_lang_area.py", line 3, in <module>
from kivy.uix.codeinput import CodeInput
File "/Library/Python/2.7/site-packages/kivy/uix/codeinput.py", line 37, in <module>
from pygments import highlight
ImportError: No module named pygments
Thanks for your help so far! Seems like i just need "pygments" now?
pip install pygments
python main.py
% sudo easy_install -U setuptools
Password:
Searching for distribute
Reading http://pypi.python.org/simple/distribute/
Best match: distribute 0.7.3
Downloading https://pypi.python.org/packages/source/d/distribute/distribute-0.7.3.zip#md5=c6c59594a7b180af57af8a0cc0cf5b4a
Processing distribute-0.7.3.zip
Writing /tmp/easy_install-BVLZ4K/distribute-0.7.3/setup.cfg
Running distribute-0.7.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-BVLZ4K/distribute-0.7.3/egg-dist-tmp-enq4Nr
warning: install_lib: 'build/lib' does not exist -- no Python modules to install
Removing distribute 0.6.28 from easy-install.pth file
Adding distribute 0.7.3 to easy-install.pth file
Installed /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/distribute-0.7.3-py2.7.egg
Processing dependencies for distribute
Searching for setuptools>=0.7
Reading http://pypi.python.org/simple/setuptools/
Reading http://peak.telecommunity.com/snapshots/
Reading https://pypi.python.org/pypi/setuptools
Best match: setuptools 3.2
Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools-3.2.zip#md5=562bec581b860df302d24eed5672df4c
Processing setuptools-3.2.zip
Writing /tmp/easy_install-spW4d9/setuptools-3.2/setup.cfg
Running setuptools-3.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-spW4d9/setuptools-3.2/egg-dist-tmp-cOzWc7
Removing setuptools 0.6c12dev-r85381 from easy-install.pth file
Adding setuptools 3.2 to easy-install.pth file
Installing easy_install script to /Library/Frameworks/Python.framework/Versions/2.7/bin
Installing easy_install-2.7 script to /Library/Frameworks/Python.framework/Versions/2.7/bin
Installed /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-3.2-py2.7.egg
Finished processing dependencies for distribute
% pip install kivy-garden
Downloading/unpacking kivy-garden
Running setup.py egg_info for package kivy-garden
The required version of setuptools (>=1.1.6) is not available,
and can't be installed while this script is running. Please
install a more recent version first, using
'easy_install -U setuptools'.
(Currently using setuptools 0.6c11 (/Library/Python/2.7/site-packages/setuptools-0.6c11-py2.7.egg))
Complete output from command python setup.py egg_info:
The required version of setuptools (>=1.1.6) is not available,
and can't be installed while this script is running. Please
install a more recent version first, using
'easy_install -U setuptools'.
(Currently using setuptools 0.6c11 (/Library/Python/2.7/site-packages/setuptools-0.6c11-py2.7.egg))
----------------------------------------
Command python setup.py egg_info failed with error code 2 in /private/var/folders/n_/2fwsybk96m712499402fbw0h0000gp/T/pip-build-wjanssen/kivy-garden
Storing complete log in /Users/wjanssen/Library/Logs/pip.log
%