>With Python 2.7.1 new in Lion as default python version
Not sure what the story is with that. 'man python' says: "The current supported versions are 2.6 and 2.7, with the default being 2.6." Either the man page is out of date, or my system is not in the default configuration. It would be helpful if someone else with Lion could check the default python version.
>1) Could you look up the man page for python ('man python' in the terminal) whether
> on OS X Lion it still supports the same environment variables as on Snow Leopard?
Yes, it appears so:
" Versions 2.6 and 2.7 support 64-bit execution (which is on by default).
Like the version of Python, the python command can select between 32 and 64-bit execution (when both are available). Use:
% defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
to make 32-bit execution the user default."
>2) For testing, could you use the diff I attached in comment #7[...]
>With Python 2.7.1 new in Lion as default python version
Not sure what the story is with that. 'man python' says: "The current supported versions are 2.6 and 2.7, with the default being 2.6." Either the man page is out of date, or my system is not in the default configuration. It would be helpful if someone else with Lion could check the default python version.
>1) Could you look up the man page for python ('man python' in the terminal) whether
> on OS X Lion it still supports the same environment variables as on Snow Leopard?
Yes, it appears so:
" Versions 2.6 and 2.7 support 64-bit execution (which is on by default). versioner. python Prefer-32-Bit -bool yes
Like the version of Python, the python command can select between 32 and 64-bit execution (when both are available). Use:
% defaults write com.apple.
to make 32-bit execution the user default."
>2) For testing, could you use the diff I attached in comment #7[...]
Trace is copied below.
Default Encoding: ascii ------- ------- ------- ------- ----- ------- ------- ------- ------- ----- ------- ------- ------- ------- ----- ------- ------- ------- ------- ----- Library/ Frameworks/ Python. framework/ Versions/ 2.6 Library/ Frameworks/ Python. framework/ Versions/ 2.6 ------- ------- ------- ------- ----- Inkscape. app/Contents/ Resources/ python/ site-packages/ i386/2. 6/lxml COMPILED_ VERSION: 2.7.1 COMPILED_ VERSION: 1.1.24 ------- ------- ------- ------- ----- Inkscape. app/Contents/ Resources/ python/ site-packages/ i386/2. 6/numpy ------- ------- ------- ------- ----- Inkscape. app/Contents/ Resources/ extensions Inkscape. app/Contents/ Resources/ extensions Inkscape. app/Contents/ Resources/ python/ site-packages/ i386/2. 6 Library/ Frameworks/ Python. framework/ Versions/ 2.6/lib/ python26. zip Library/ Frameworks/ Python. framework/ Versions/ 2.6/lib/ python2. 6 Library/ Frameworks/ Python. framework/ Versions/ 2.6/lib/ python2. 6/plat- darwin Library/ Frameworks/ Python. framework/ Versions/ 2.6/lib/ python2. 6/plat- mac Library/ Frameworks/ Python. framework/ Versions/ 2.6/lib/ python2. 6/plat- mac/lib- scriptpackages Library/ Frameworks/ Python. framework/ Versions/ 2.6/Extras/ lib/python Library/ Frameworks/ Python. framework/ Versions/ 2.6/lib/ python2. 6/lib-tk Library/ Frameworks/ Python. framework/ Versions/ 2.6/lib/ python2. 6/lib-old Library/ Frameworks/ Python. framework/ Versions/ 2.6/lib/ python2. 6/lib-dynload Python/ 2.6/site- packages Library/ Frameworks/ Python. framework/ Versions/ 2.6/Extras/ lib/python/ PyObjC ------- ------- ------- ------- ----- Inkscape. app/Contents/ Resources/ etc/fonts Inkscape. app/Contents/ Resources Inkscape. app/Contents/ Resources; PYTHON_ PREFER_ 32_BIT Inkscape. app/Contents/ Resources /usr/texbin: /opt/local/ bin:/sw/ bin/:/Library/ Frameworks/ Python. framework/ Versions/ Current/ bin:/usr/ local/bin: /Applications/ Inkscape. app/Contents/ Resources/ bin:/usr/ bin:/bin: /usr/sbin: /sbin kUTuIq/ org.x:0 Socket_ Render ShNaTd/ Render PYTHON_ VERSION MODULE_ CONFIG_ PATH Inkscape. app/Contents/ Resources/ etc/gnome- vfs-2.0/ modules Inkscape. app/Contents/ Resources CODER_FILTER_ PATH Inkscape. app/Contents/ Resources/ lib/ImageMagick -6.6.7/ modules- Q16/filters Inkscape. app/Contents/ Resources/ extensions: /Applications/ Inkscape. app/Contents/ Resources/ python/ site-packages/ i386/2. 6 Bq55Uv/ Listeners CONFIGURE_ PATH Inkscape. app/Contents/ Resources/ lib/ImageMagick -6.6.7/ config: /Applications/ Inkscape. app/Contents/ Resources/ share/ImageMagi ck-6.6. 7/config oskay/. inkscape- etc/pangorc oskay/. inkscape- etc/gtkrc Inkscape. app/Contents/ Resources/ locale j3/814wjf417nq6 319nk1rstkx4000 0gn/T/ Inkscape. app/Contents/ Resources/ lib/inkscape MODULE_ FILE oskay/. inkscape- etc/gdk- pixbuf. loaders CODER_MODULE_ PATH Inkscape. app/Contents/ Resources/ lib/ImageMagick -6.6.7/ modules- Q16/coders oskay/. inkscape- etc/gtk. immodules TEXT_ENCODING Inkscape. app/Contents/ Resources/ share Inkscape. app MODULE_ PATH Inkscape. app/Contents/ Resources/ lib/gnome- vfs-2.0/ modules ------- ------- ------- ------- -----
-------
Filesystem Encoding: utf-8
-------
Platform: darwin
-------
Python sys.version_info: 2.6.6
Python sys.version:
2.6.6 (r266:84292, Jun 16 2011, 16:59:17)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]
-------
Python sys.executable:
/usr/bin/python
Python sys.exec_prefix:
/System/
Python sys.prefix:
/System/
-------
lxml path: /Applications/
LXML_VERSION: 2.1.3.0
LIBXML_VERSION: 2.7.3
LIBXML_
LIBXSLT_VERSION: 1.1.24
LIBXSLT_
-------
numpy path: /Applications/
numpy version: 1.3.0.dev5986
-------
sys.path:
/Applications/
/Applications/
/Applications/
/System/
/System/
/System/
/System/
/System/
/System/
/System/
/System/
/System/
/Library/
/System/
-------
os.environ:
FONTCONFIG_PATH
/Applications/
INKSCAPE_SHAREDIR
/Applications/
ASPELL_CONF
prefix /Applications/
VERSIONER_
yes
SHELL
/bin/bash
GTK_EXE_PREFIX
/Applications/
LOGNAME
oskay
USER
oskay
HOME
/Users/oskay
PATH
/usr/bin:
DISPLAY
/tmp/launch-
LANG
.UTF-8
Apple_PubSub_
/tmp/launch-
VERSIONER_
2.6
SHLVL
0
GNOME_VFS_
/Applications/
GTK_DATA_PREFIX
/Applications/
MAGICK_
/Applications/
PYTHONPATH
/Applications/
SSH_AUTH_SOCK
/tmp/launch-
MAGICK_
/Applications/
PANGO_RC_FILE
/Users/
VERSION
7
GTK2_RC_FILES
/Users/
INKSCAPE_LOCALEDIR
/Applications/
TMPDIR
/var/folders/
INKSCAPE_PLUGINDIR
/Applications/
GDK_PIXBUF_
/Users/
MAGICK_
/Applications/
GTK_IM_MODULE_FILE
/Users/
__CF_USER_
0x1F5:0:0
XDG_DATA_DIRS
/Applications/
PWD
/Applications/
GNOME_VFS_
/Applications/
COMMAND_MODE
legacy
-------