the help file of Houdini (Mac OS X) didn't show up when I press the “?” button for whatever node…
Also, the “help browser” panel is not available in Houdini for Mac…
Did you experience the same problem?
- Ji
help file fails to show up on Mac OS X
11773 12 4- oat
- Member
- 479 posts
- Joined: Dec. 2009
- Offline
- old_school
- Staff
- 2540 posts
- Joined: July 2005
- Offline
- oat
- Member
- 479 posts
- Joined: Dec. 2009
- Offline
- old_school
- Staff
- 2540 posts
- Joined: July 2005
- Offline
Looks like the same problem I had when I upgraded to Lion and I had a previous install of Xcode in Snow Leopard.
Error is that Houdini can't find or open /usr/include/python2.6/pyconfig.h
Apple now distributes Xcode from the Apple Store. That's all fine. Download and install.
But…
If you want to install the command line tools which will fix things in Houdini, you need to register as an Apple Developer. Fine as well until you see that they charge an annual subscription.
Here's the work-around to install the command line Python tools without having to install the command line tools from Xcode.
Mac Lion upgrade Python Fix for Houdini12
Issue: Houdini launches with python errors caused by two issues:
1) icons unable to build because Houdini is referencing the wrong Python libraries (non-existent).
2) Help won't run due to missing Python headers
Open up a Houdini shell. All work done in the shell.
Fix for Houdini referencing wrong Python Build:
In ~.bash_profile which sets up PATH, the PATH was referencing the wrong version of Python. This looks to have happened when Xcode was upgraded to Lion…
The line injected by some past Python install was commuted out:
#PATH=“/Library/Frameworks/Python.framework/Versions/2.6/bin:${PATH}”
Fixed the Issue by uncommenting the PATH removing the # at the beginning.
Fix for Help Not running due to missing Python Headers:
Had to create a new include directory in /usr:
$ cd /usr
$ sudo mkdir -p include
$ cd include
Then make a symbolic link to the Python headers for 2.6.7:
$ 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 .
$ ls -lh
shows that the symbolic link is now in place and Houdini runs fine.
Error is that Houdini can't find or open /usr/include/python2.6/pyconfig.h
Apple now distributes Xcode from the Apple Store. That's all fine. Download and install.
But…
If you want to install the command line tools which will fix things in Houdini, you need to register as an Apple Developer. Fine as well until you see that they charge an annual subscription.
Here's the work-around to install the command line Python tools without having to install the command line tools from Xcode.
Mac Lion upgrade Python Fix for Houdini12
Issue: Houdini launches with python errors caused by two issues:
1) icons unable to build because Houdini is referencing the wrong Python libraries (non-existent).
2) Help won't run due to missing Python headers
Open up a Houdini shell. All work done in the shell.
Fix for Houdini referencing wrong Python Build:
In ~.bash_profile which sets up PATH, the PATH was referencing the wrong version of Python. This looks to have happened when Xcode was upgraded to Lion…
The line injected by some past Python install was commuted out:
#PATH=“/Library/Frameworks/Python.framework/Versions/2.6/bin:${PATH}”
Fixed the Issue by uncommenting the PATH removing the # at the beginning.
Fix for Help Not running due to missing Python Headers:
Had to create a new include directory in /usr:
$ cd /usr
$ sudo mkdir -p include
$ cd include
Then make a symbolic link to the Python headers for 2.6.7:
$ 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 .
$ ls -lh
shows that the symbolic link is now in place and Houdini runs fine.
Edited by - Nov. 19, 2012 12:01:47
There's at least one school like the old school!
- oat
- Member
- 479 posts
- Joined: Dec. 2009
- Offline
Dear jeff, thank you very much for the detailed advices!
Actually, I had the latest Xcode 4.3.2 and command line tools installed… Maybe I somehow messed up my system…
I followed your advice, it seems that after i create the “include” folder in /usr there's one more step: I need to “cd ./include”, i.e. go into that directory before I make the link “sudo ln -sf ….”
Otherwise, the link or a short cut to “python2.6” folder will be created in ./usr
Another way seems to be: just copy the pyconfig.h file from the deep directory you mentioned and paste it in the ./usr/include directory, though I'm not sure if this may further mess up my system…
Anyway, the help browser will show up in web browser promptly now following your suggestions!
Thank you again!
- Ji
Actually, I had the latest Xcode 4.3.2 and command line tools installed… Maybe I somehow messed up my system…
I followed your advice, it seems that after i create the “include” folder in /usr there's one more step: I need to “cd ./include”, i.e. go into that directory before I make the link “sudo ln -sf ….”
Otherwise, the link or a short cut to “python2.6” folder will be created in ./usr
Another way seems to be: just copy the pyconfig.h file from the deep directory you mentioned and paste it in the ./usr/include directory, though I'm not sure if this may further mess up my system…
Anyway, the help browser will show up in web browser promptly now following your suggestions!
Thank you again!
- Ji
- old_school
- Staff
- 2540 posts
- Joined: July 2005
- Offline
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
- old_school
- Staff
- 2540 posts
- Joined: July 2005
- Offline
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
- Augustronic
- Member
- 8 posts
- Joined: March 2008
- Offline
looking for the .bash_profile?
$ cd
$ ls -al
$ sudo pico .bash_profile
(mine wasn't commented out at the line of interest)
the symbolic link path is a bit different:
$ sudo ln -sf /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
Good luck!
Here it's working fine.
$ cd
$ ls -al
$ sudo pico .bash_profile
(mine wasn't commented out at the line of interest)
the symbolic link path is a bit different:
$ sudo ln -sf /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
Good luck!
Here it's working fine.
Have a nice day!
Aloha Achim
Aloha Achim
- garman
- Member
- 8 posts
- Joined: July 2005
- Offline
- garman
- Member
- 8 posts
- Joined: July 2005
- Offline
- old_school
- Staff
- 2540 posts
- Joined: July 2005
- Offline
Hi Garman,
Just installed Mountain Lion and I can verify that the path has changed. I put both Current python2.7 and python 2.6 links.
Thank-you.
I also added one missing step in my original post to cd in to the include directory in case it wasn't obvious.
Just installed Mountain Lion and I can verify that the path has changed. I put both Current python2.7 and python 2.6 links.
Thank-you.
I also added one missing step in my original post to cd in to the include directory in case it wasn't obvious.
There's at least one school like the old school!
-
- Quick Links