[cgkit-user] Installing on OSX Mavericks
Brought to you by:
mbaas
From: π <sun...@gm...> - 2014-03-08 20:25:49
|
Hello CGKit people, I've recently discovered Python from having to generate my own Blender export scripts, and I have instantly taken to the language. I'm very keen to get CGKit up and running on my OSX Mavericks MacBook Air. First I try to see if I can install using pip, and I cannot. Then I learn that I need python 3.3, so I install it using Homebrew: piBookAir:pi_hrtf_23feb pi$ brew install python3 ==> Installing dependencies for python3: sqlite, xz ==> Installing python3 dependency: sqlite ==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/sqlite-3.8.3.mavericks.bottle.1.tar.gz ######################################################################## 100.0% ==> Pouring sqlite-3.8.3.mavericks.bottle.1.tar.gz ==> Caveats This formula is keg-only, so it was not symlinked into /usr/local. Mac OS X already provides this software and installing another version in parallel can cause all kinds of trouble. OS X provides an older sqlite3. Generally there are no consequences of this for you. If you build your own software and it requires this formula, you'll need to add to your build variables: LDFLAGS: -L/usr/local/opt/sqlite/lib CPPFLAGS: -I/usr/local/opt/sqlite/include ==> Summary 🍺 /usr/local/Cellar/sqlite/3.8.3: 9 files, 2.0M ==> Installing python3 dependency: xz ==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/xz-5.0.5.mavericks.bottle.2.tar.gz ######################################################################## 100.0% ==> Pouring xz-5.0.5.mavericks.bottle.2.tar.gz 🍺 /usr/local/Cellar/xz/5.0.5: 58 files, 1.5M ==> Installing python3 ==> Downloading http://python.org/ftp/python/3.3.4/Python-3.3.4.tgz ######################################################################## 100.0% ==> ./configure --prefix=/usr/local/Cellar/python3/3.3.4 --enable-ipv6 --datarootdir=/usr/local/Cellar/python3/3. ==> make ==> make install PYTHONAPPSDIR=/usr/local/Cellar/python3/3.3.4 ==> make frameworkinstallextras PYTHONAPPSDIR=/usr/local/Cellar/python3/3.3.4/share/python3 ==> Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools-2.2.tar.gz ######################################################################## 100.0% ==> /usr/local/Cellar/python3/3.3.4/bin/python3 -s setup.py install --force --verbose --install-scripts=/usr/loca ==> Downloading https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz ######################################################################## 100.0% ==> /usr/local/Cellar/python3/3.3.4/bin/python3 -s setup.py install --force --verbose --install-scripts=/usr/loca ==> Caveats Setuptools and Pip have been installed. To update them pip3 install --upgrade setuptools pip3 install --upgrade pip You can install Python packages with `pip3 install <your_favorite_package>` They will install into the site-package directory /usr/local/lib/python3.3/site-packages See: https://github.com/Homebrew/homebrew/wiki/Homebrew-and-Python .app bundles were installed. Run `brew linkapps` to symlink these to /Applications. ==> Summary 🍺 /usr/local/Cellar/python3/3.3.4: 4777 files, 94M, built in 2.3 minutes piBookAir:pi_hrtf_23feb pi$ python3 Python 3.3.4 (default, Mar 8 2014, 14:52:56) [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> quit() piBookAir:pi_hrtf_23feb pi$ I don't quite understand some of these messages: This formula is keg-only, so it was not symlinked into /usr/local. Mac OS X already provides this software and installing another version in parallel can cause all kinds of trouble. Did I already have Python3 on my system? I don't think so: piBookAir:pi_hrtf_23feb pi$ sudo find / -iname "python3*" Password: /Applications/blender.app/Contents/MacOS/2.69/python/lib/python3.3 find: /dev/fd/3: Not a directory find: /dev/fd/4: Not a directory /Library/Caches/Homebrew/Formula/python3.brewing /Library/Caches/Homebrew/python3--pip-1.5.4.tar.gz /Library/Caches/Homebrew/python3--setuptools-2.2.tar.gz /Library/Caches/Homebrew/python3-3.3.4.tgz /Users/pi/Downloads/blender-2.69-e07e8e3-OSX-10.6-x86_64/blender.app/Contents/MacOS/2.69/python/lib/python3.3 /Users/pi/Downloads/blender-2.69-e07e8e3-OSX-10.6-x86_64/blenderplayer.app/Contents/MacOS/2.69/python/lib/python3.3 /Users/pi/Library/Logs/Homebrew/python3 /usr/local/bin/python3 /usr/local/bin/python3-config /usr/local/bin/python3.3 /usr/local/bin/python3.3-config /usr/local/Cellar/python3 /usr/local/Cellar/python3/3.3.4/bin/python3 /usr/local/Cellar/python3/3.3.4/bin/python3-config /usr/local/Cellar/python3/3.3.4/bin/python3.3 /usr/local/Cellar/python3/3.3.4/bin/python3.3-config /usr/local/Cellar/python3/3.3.4/Frameworks/Python.framework/Versions/3.3/bin/python3 /usr/local/Cellar/python3/3.3.4/Frameworks/Python.framework/Versions/3.3/bin/python3-config /usr/local/Cellar/python3/3.3.4/Frameworks/Python.framework/Versions/3.3/bin/python3.3 /usr/local/Cellar/python3/3.3.4/Frameworks/Python.framework/Versions/3.3/bin/python3.3-config /usr/local/Cellar/python3/3.3.4/Frameworks/Python.framework/Versions/3.3/bin/python3.3m /usr/local/Cellar/python3/3.3.4/Frameworks/Python.framework/Versions/3.3/bin/python3.3m-config /usr/local/Cellar/python3/3.3.4/Frameworks/Python.framework/Versions/3.3/include/python3.3m /usr/local/Cellar/python3/3.3.4/Frameworks/Python.framework/Versions/3.3/lib/pkgconfig/python3.pc /usr/local/Cellar/python3/3.3.4/Frameworks/Python.framework/Versions/3.3/lib/python3.3 /usr/local/Cellar/python3/3.3.4/Frameworks/Python.framework/Versions/3.3/share/doc/python3.3 /usr/local/Cellar/python3/3.3.4/share/man/man1/python3.1 /usr/local/Cellar/python3/3.3.4/share/man/man1/python3.3.1 /usr/local/lib/python3.3 /usr/local/Library/Formula/python3.rb /usr/local/Library/LinkedKegs/python3 /usr/local/opt/python3 /usr/local/share/man/man1/python3.1 /usr/local/share/man/man1/python3.3.1 /usr/local/share/python3 /usr/share/vim/vim73/autoload/python3complete.vim piBookAir:pi_hrtf_23feb pi$ ls -la /usr/local/lib/python3.3 total 0 drwxr-xr-x 3 pi admin 102 8 Mar 14:53 . drwxr-xr-x 197 pi admin 6698 8 Mar 14:53 .. drwxr-xr-x 8 pi admin 272 8 Mar 14:53 site-packages piBookAir:pi_hrtf_23feb pi$ ls -la /usr/local/lib/python3.3/site-packages/ total 992 drwxr-xr-x 8 pi admin 272 8 Mar 14:53 . drwxr-xr-x 3 pi admin 102 8 Mar 14:53 .. drwxr-xr-x 3 pi admin 102 8 Mar 14:53 __pycache__ -rw-r--r-- 1 pi admin 234 8 Mar 14:53 easy-install.pth drwxr-xr-x 4 pi admin 136 8 Mar 14:53 pip-1.5.4-py3.3.egg -rw-r--r-- 1 pi admin 495300 8 Mar 14:53 setuptools-2.2-py3.3.egg -rw-r--r-- 1 pi admin 27 8 Mar 14:53 setuptools.pth -rw-r--r-- 1 pi admin 2602 8 Mar 14:53 sitecustomize.py piBookAir:pi_hrtf_23feb pi$ which python3 /usr/local/bin/python3 piBookAir:pi_hrtf_23feb pi$ ls -la /usr/local/bin/python3 lrwxr-xr-x 1 pi admin 35 8 Mar 14:54 /usr/local/bin/python3 -> ../Cellar/python3/3.3.4/bin/python3 Could it be finding the Python3 hiding in Blender? I don't see how; that is not in the path. Now I run the installer from http://sourceforge.net/projects/cgkit/ But it fails saying Python 3 is not installed. http://imagebin.org/index.php?mode=image&id=297981 I don't know how to proceed now. Is there any chance that CGKit could be revised so that it can be installed with pip3? It is so smooth when all necessary packages can be installed with pip! π |