python issues OSX

   2687   3   0
User Avatar
Member
325 posts
Joined: July 2005
Offline
Dear sidefx,

When running houdini from shell terminal, I get the following error messages:

vlads-macbook-pro:Resources madjestic$
Last login: Wed Mar 7 23:26:56 on ttys000
vlads-macbook-pro:Resources madjestic$ cd /Library/Frameworks/Houdini.framework/Versions/12.0.554/Resources;source houdini_setup
The Houdini 12.0.554 environment has been initialized.
vlads-macbook-pro:Resources madjestic$ houdini
vlads-macbook-pro:Resources madjestic$ 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.554/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/12.0.554/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.554/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.554/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.554/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.554/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.554/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.554/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.554/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 checked and see that the dir /usr/include does not exist. I am not sure if it supposed to be there, or whether it is deleted after Xcode 4.3 installation. I can run python interpreter normally otherwise (both inside Houdini Python Shell and inside a terminal window).

vlads-macbook-pro:Resources madjestic$ python
Python 2.6.7 (r267:88850, Jul 31 2011, 19:30:54)
on darwin
Type “help”, “copyright”, “credits” or “license” for more information.
>>>

Platform: darwin-x86_64-gcc4.2-MacOSX10.7
OpenGL Vendor: NVIDIA Corporation
OpenGL Renderer: NVIDIA GeForce 9400M OpenGL Engine
OpenGL Version: 2.1 NVIDIA-7.18.11
OpenGL Shading Language: 1.20
Detected: NVidia Consumer (Mac version)
Unknown VRAM
7.18.11.0

So things seem to work despite the error messages, but I would love to find out what's causing that.

Regards,
Vlad
I liked the Mustang
User Avatar
Member
7743 posts
Joined: July 2005
Offline
If you say “Dear sidefx”, then you want to be logging a support issue and not posting here.
User Avatar
Member
325 posts
Joined: July 2005
Offline
True However I observed this issue on my home PC, running an Apprentice license. The issue may or may not be related to Sidefx side of things or it is just my system being dirty. The first options means it is an issue that Sidefx may be interested in solving in order to improve Houdini. If it is the second option - it means that it is my personal issue and I don't think that Apprentice licensing is covered by sidefx support.

Hence I posted here.

Should I write support anyways?


Regards,
Vlad
I liked the Mustang
User Avatar
Member
7743 posts
Joined: July 2005
Offline
MADjestic
it means that it is my personal issue and I don't think that Apprentice licensing is covered by sidefx support.

It's fine to post here as long as there's no expectation of anyone from Side Effects reading nor replying. If it looks like your issue has a chance of also affecting other Houdini users, then I would say submit anyhow via the submission link above under Support > Submit Bugs and RFEs. That is precisely the reason why we have a publicly available link for such a purpose.

There are many reasons that I prefer that people submit their reproducible issues but the two top ones are:
- Someone else may hit upon it as well
- It gets tracked in a consistent fashion
  • Quick Links