OSX LION
50651 58 2- moenen
- Member
- 10 posts
- Joined: Aug. 2009
- Offline
- fsimerey
- Member
- 279 posts
- Joined: Dec. 2009
- Offline
- moenen
- Member
- 10 posts
- Joined: Aug. 2009
- Offline
I have the HD non commercial edition and I have just discovered the daily build release for Lion. At the moment I can launch the app without any problem, but I can't open the help at launch. I receive this message:
Could not initialize the help server:
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
File “/Library/Frameworks/Houdini.framework/Versions/11.0.833/Resources/houdini/python2.6libs/houdinihelp/__init__.py”, line 38, in <module>
from houdinihelp.wiki import WIKI, page_to_html, string_to_html, string_to_xml
File “/Library/Frameworks/Houdini.framework/Versions/11.0.833/Resources/houdini/python2.6libs/houdinihelp/wiki.py”, line 10, in <module>
from wikiparser.filters.trees import (block_attribute_elements, color_syntax, group_by_type,
File “/Library/Frameworks/Houdini.framework/Versions/11.0.833/Resources/houdini/python2.6libs/wikiparser/filters/trees.py”, line 20, in <module>
from pygments.lexers import get_lexer_by_name
File “/Library/Frameworks/Houdini.framework/Versions/11.0.833/Resources/python/lib/python2.6/site-packages/pygments/lexers/__init__.py”, line 21, in <module>
from pygments.plugin import find_plugin_lexers
File “/Library/Frameworks/Houdini.framework/Versions/11.0.833/Resources/python/lib/python2.6/site-packages/pygments/plugin.py”, line 39, in <module>
import pkg_resources
File “/Library/Frameworks/Houdini.framework/Versions/11.0.833/Resources/python/lib/python2.6/site-packages/pkg_resources.py”, line 657, in <module>
class Environment(object):
File “/Library/Frameworks/Houdini.framework/Versions/11.0.833/Resources/python/lib/python2.6/site-packages/pkg_resources.py”, line 660, in Environment
def __init__(self, search_path=None, platform=get_supported_platform(), python=PY_MAJOR):
File “/Library/Frameworks/Houdini.framework/Versions/11.0.833/Resources/python/lib/python2.6/site-packages/pkg_resources.py”, line 55, in get_supported_platform
plat = get_build_platform(); m = macosVersionString.match(plat)
File “/Library/Frameworks/Houdini.framework/Versions/11.0.833/Resources/python/lib/python2.6/site-packages/pkg_resources.py”, line 187, in get_build_platform
plat = get_platform()
File “/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/util.py”, line 98, in get_platform
File “/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/sysconfig.py”, line 537, in get_config_vars
File “/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/sysconfig.py”, line 405, in _init_posix
DistutilsPlatformError: invalid Python installation: unable to open /usr/include/python2.6/pyconfig.h (No such file or directory)
Could not initialize the help server:
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
File “/Library/Frameworks/Houdini.framework/Versions/11.0.833/Resources/houdini/python2.6libs/houdinihelp/__init__.py”, line 38, in <module>
from houdinihelp.wiki import WIKI, page_to_html, string_to_html, string_to_xml
File “/Library/Frameworks/Houdini.framework/Versions/11.0.833/Resources/houdini/python2.6libs/houdinihelp/wiki.py”, line 10, in <module>
from wikiparser.filters.trees import (block_attribute_elements, color_syntax, group_by_type,
File “/Library/Frameworks/Houdini.framework/Versions/11.0.833/Resources/houdini/python2.6libs/wikiparser/filters/trees.py”, line 20, in <module>
from pygments.lexers import get_lexer_by_name
File “/Library/Frameworks/Houdini.framework/Versions/11.0.833/Resources/python/lib/python2.6/site-packages/pygments/lexers/__init__.py”, line 21, in <module>
from pygments.plugin import find_plugin_lexers
File “/Library/Frameworks/Houdini.framework/Versions/11.0.833/Resources/python/lib/python2.6/site-packages/pygments/plugin.py”, line 39, in <module>
import pkg_resources
File “/Library/Frameworks/Houdini.framework/Versions/11.0.833/Resources/python/lib/python2.6/site-packages/pkg_resources.py”, line 657, in <module>
class Environment(object):
File “/Library/Frameworks/Houdini.framework/Versions/11.0.833/Resources/python/lib/python2.6/site-packages/pkg_resources.py”, line 660, in Environment
def __init__(self, search_path=None, platform=get_supported_platform(), python=PY_MAJOR):
File “/Library/Frameworks/Houdini.framework/Versions/11.0.833/Resources/python/lib/python2.6/site-packages/pkg_resources.py”, line 55, in get_supported_platform
plat = get_build_platform(); m = macosVersionString.match(plat)
File “/Library/Frameworks/Houdini.framework/Versions/11.0.833/Resources/python/lib/python2.6/site-packages/pkg_resources.py”, line 187, in get_build_platform
plat = get_platform()
File “/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/util.py”, line 98, in get_platform
File “/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/sysconfig.py”, line 537, in get_config_vars
File “/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/sysconfig.py”, line 405, in _init_posix
DistutilsPlatformError: invalid Python installation: unable to open /usr/include/python2.6/pyconfig.h (No such file or directory)
- fsimerey
- Member
- 279 posts
- Joined: Dec. 2009
- Offline
- Paladin
- Member
- 4 posts
- Joined: Aug. 2011
- Offline
- Dranix
- Member
- 15 posts
- Joined: April 2008
- Offline
- koen
- Member
- 793 posts
- Joined: April 2020
- Offline
- Paladin
- Member
- 4 posts
- Joined: Aug. 2011
- Offline
- Paladin
- Member
- 4 posts
- Joined: Aug. 2011
- Offline
- koen
- Member
- 793 posts
- Joined: April 2020
- Offline
- Paladin
- Member
- 4 posts
- Joined: Aug. 2011
- Offline
i am using hackintosh.my video cart inject from chameleon boot loader, and i wrote in dsdt.after that houdini it worked
if you have original mac(iMac,mac book.mac…) and Nvidia video cart try new driver from nvidia web site( http://www.nvidia.com/object/quadro-macosx-256.02.25f01-driver.html [nvidia.com] )
if you have original mac(iMac,mac book.mac…) and Nvidia video cart try new driver from nvidia web site( http://www.nvidia.com/object/quadro-macosx-256.02.25f01-driver.html [nvidia.com] )
- koen
- Member
- 793 posts
- Joined: April 2020
- Offline
- rvinluan
- Staff
- 1275 posts
- Joined: July 2005
- Offline
moenen
DistutilsPlatformError: invalid Python installation: unable to open /usr/include/python2.6/pyconfig.h (No such file or directory)
Hi All,
Just an update. If you upgraded to OSX Lion and don't have help anymore in Houdini and the above error message appears in the Terminal (assuming you started Houdini from a terminal), then you can do the following:
1. Download and install the latest XCode.
2. Open a Terminal.app and run the following:
sudo mkdir -p /usr/include
cd /usr/include
# This ‘ln’ command is actually a single line.
# It just appears as multiple lines because of word-wrapping in the forum.
sudo ln -sf /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 python2.6
What this does is create a symbolic link from where Python is expecting pyconfig.h to exist to where the OSX Lion and XCode upgrades have moved pyconfig.h to.
Cheers,
Rob
- kjmitch
- Member
- 23 posts
- Joined: Dec. 2011
- Offline
Rob,
I ran the code you mentioned and still receive the same error. Version of Xcode is Version 4.3.2 (4E2002). Sorry for the length:
Kevin-MItchells-Mac-Pro:include kevinmitchell$ Could not initialize the help server:
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
File “/Library/Frameworks/Houdini.framework/Versions/12.0.603/Resources/houdini/python2.6libs/houdinihelp/__init__.py”, line 40, in <module>
from houdinihelp.wiki import WIKI, page_to_html, string_to_html, string_to_xml
File “/Library/Frameworks/Houdini.framework/Versions/12.0.603/Resources/houdini/python2.6libs/houdinihelp/wiki.py”, line 10, in <module>
from wikiparser.filters.trees import (block_attribute_elements, color_syntax,
File “/Library/Frameworks/Houdini.framework/Versions/12.0.603/Resources/houdini/python2.6libs/wikiparser/filters/trees.py”, line 20, in <module>
from pygments.lexers import get_lexer_by_name
File “/Library/Frameworks/Houdini.framework/Versions/12.0.603/Resources/python/lib/python2.6/site-packages/pygments/lexers/__init__.py”, line 21, in <module>
from pygments.plugin import find_plugin_lexers
File “/Library/Frameworks/Houdini.framework/Versions/12.0.603/Resources/python/lib/python2.6/site-packages/pygments/plugin.py”, line 39, in <module>
import pkg_resources
File “/Library/Frameworks/Houdini.framework/Versions/12.0.603/Resources/python/lib/python2.6/site-packages/pkg_resources.py”, line 657, in <module>
class Environment(object):
File “/Library/Frameworks/Houdini.framework/Versions/12.0.603/Resources/python/lib/python2.6/site-packages/pkg_resources.py”, line 660, in Environment
def __init__(self, search_path=None, platform=get_supported_platform(), python=PY_MAJOR):
File “/Library/Frameworks/Houdini.framework/Versions/12.0.603/Resources/python/lib/python2.6/site-packages/pkg_resources.py”, line 55, in get_supported_platform
plat = get_build_platform(); m = macosVersionString.match(plat)
File “/Library/Frameworks/Houdini.framework/Versions/12.0.603/Resources/python/lib/python2.6/site-packages/pkg_resources.py”, line 187, in get_build_platform
plat = get_platform()
File “/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/util.py”, line 98, in get_platform
File “/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/sysconfig.py”, line 537, in get_config_vars
File “/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/sysconfig.py”, line 405, in _init_posix
DistutilsPlatformError: invalid Python installation: unable to open /usr/include/python2.6/pyconfig.h (No such file or directory)
I ran the code you mentioned and still receive the same error. Version of Xcode is Version 4.3.2 (4E2002). Sorry for the length:
Kevin-MItchells-Mac-Pro:include kevinmitchell$ Could not initialize the help server:
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
File “/Library/Frameworks/Houdini.framework/Versions/12.0.603/Resources/houdini/python2.6libs/houdinihelp/__init__.py”, line 40, in <module>
from houdinihelp.wiki import WIKI, page_to_html, string_to_html, string_to_xml
File “/Library/Frameworks/Houdini.framework/Versions/12.0.603/Resources/houdini/python2.6libs/houdinihelp/wiki.py”, line 10, in <module>
from wikiparser.filters.trees import (block_attribute_elements, color_syntax,
File “/Library/Frameworks/Houdini.framework/Versions/12.0.603/Resources/houdini/python2.6libs/wikiparser/filters/trees.py”, line 20, in <module>
from pygments.lexers import get_lexer_by_name
File “/Library/Frameworks/Houdini.framework/Versions/12.0.603/Resources/python/lib/python2.6/site-packages/pygments/lexers/__init__.py”, line 21, in <module>
from pygments.plugin import find_plugin_lexers
File “/Library/Frameworks/Houdini.framework/Versions/12.0.603/Resources/python/lib/python2.6/site-packages/pygments/plugin.py”, line 39, in <module>
import pkg_resources
File “/Library/Frameworks/Houdini.framework/Versions/12.0.603/Resources/python/lib/python2.6/site-packages/pkg_resources.py”, line 657, in <module>
class Environment(object):
File “/Library/Frameworks/Houdini.framework/Versions/12.0.603/Resources/python/lib/python2.6/site-packages/pkg_resources.py”, line 660, in Environment
def __init__(self, search_path=None, platform=get_supported_platform(), python=PY_MAJOR):
File “/Library/Frameworks/Houdini.framework/Versions/12.0.603/Resources/python/lib/python2.6/site-packages/pkg_resources.py”, line 55, in get_supported_platform
plat = get_build_platform(); m = macosVersionString.match(plat)
File “/Library/Frameworks/Houdini.framework/Versions/12.0.603/Resources/python/lib/python2.6/site-packages/pkg_resources.py”, line 187, in get_build_platform
plat = get_platform()
File “/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/util.py”, line 98, in get_platform
File “/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/sysconfig.py”, line 537, in get_config_vars
File “/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/sysconfig.py”, line 405, in _init_posix
DistutilsPlatformError: invalid Python installation: unable to open /usr/include/python2.6/pyconfig.h (No such file or directory)
- blacksheep
- Member
- 5 posts
- Joined: Aug. 2011
- Offline
Having the same problem pyconfig.h (No such file or directory) - I have installed the latest version of Xcode (4.3.2)
I ran the following but with no luck
sudo mkdir -p /usr/include
cd /usr/include
# This ‘ln’ command is actually a single line.
# It just appears as multiple lines because of word-wrapping in the forum.
sudo ln -sf /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 python2.6
Any ideas anyone
I ran the following but with no luck
sudo mkdir -p /usr/include
cd /usr/include
# This ‘ln’ command is actually a single line.
# It just appears as multiple lines because of word-wrapping in the forum.
sudo ln -sf /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 python2.6
Any ideas anyone
- andyfedak
- Member
- 1 posts
- Joined: March 2009
- Offline
Hey there,
You don't need to have Xcode installed, you just need to have python installed. Which is installed with all versions of Lion.
This is correct, except you just need to change your location to where lion has installed python - for me it's this…
sudo mkdir -p /usr/include
cd /usr/include
# This ‘ln’ command is actually a single line.
# It just appears as multiple lines because of word-wrapping in the forum.
sudo ln -sf /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 python2.6
You don't need to have Xcode installed, you just need to have python installed. Which is installed with all versions of Lion.
This is correct, except you just need to change your location to where lion has installed python - for me it's this…
sudo mkdir -p /usr/include
cd /usr/include
# This ‘ln’ command is actually a single line.
# It just appears as multiple lines because of word-wrapping in the forum.
sudo ln -sf /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 python2.6
- Andrew Graham
- Member
- 151 posts
- Joined: Feb. 2009
- Offline
I'm experiencing this situation too - no help works in lion for me. i have the latest xcode and python 2.7 installed
https://openfirehawk.com/ [openfirehawk.com]
Support Open Firehawk - An open source cloud rendering project for Houdini on Patreon.
This project's goal is to provide an open source framework for cloud computing for heavy FX based workflows and allows end users to pay the lowest possible price for cloud resources.
Support Open Firehawk - An open source cloud rendering project for Houdini on Patreon.
This project's goal is to provide an open source framework for cloud computing for heavy FX based workflows and allows end users to pay the lowest possible price for cloud resources.
- roughsporty
- Member
- 191 posts
- Joined: Aug. 2008
- Offline
- Andrew Graham
- Member
- 151 posts
- Joined: Feb. 2009
- Offline
great thanks, worked like a charm.
https://openfirehawk.com/ [openfirehawk.com]
Support Open Firehawk - An open source cloud rendering project for Houdini on Patreon.
This project's goal is to provide an open source framework for cloud computing for heavy FX based workflows and allows end users to pay the lowest possible price for cloud resources.
Support Open Firehawk - An open source cloud rendering project for Houdini on Patreon.
This project's goal is to provide an open source framework for cloud computing for heavy FX based workflows and allows end users to pay the lowest possible price for cloud resources.
-
- Quick Links