Archive for the ‘Uncategorized’ Category


In this post we start PyQt user interface widget toolkit to create a custom user interface inside Houdini.
Houdini does not distribute PyQt4, so if it is not installed you need to install it to your Python distribution.

Lets See How to install and setup Qt and PyQt4 in Linux Centos.

Check Houdini Python Paths
Run in your Terminal- env | grep houdini

Now Understand about python versions-
Centos 6.5 ship with python 2.6
and houdini 13 ship with python 2.6 and python 2.7
so if you have working python version installed in computer than houdini takes system python version.
else houdini will use HFS python versions.

to use Houdini Python versions
You can set HOUDINI_USE_HFS_PYTHON to 1 in houdini environment.
open file /home/rajiv/houdini13.0/houdini.env
add following line:

Now you can see python2.7.5 in python shell of houdini.
but no PyQt4 modules for houdini.

Python 2.7.5 (default, Oct 24 2013, 12:22:56)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
Houdini 13.0.481 hou module imported.
Type “help”, “copyright”, “credits” or “license” for more information.
>>> import PyQt4
Traceback (most recent call last):
File “<console>”, line 1, in <module>
ImportError: No module named PyQt4

if in your system have python 2.7 with PyQt4 installed.
than you can add PyQt4 path (/usr/local/lib/python2.7/site_packages) in houdini sys.path
you may get following Error
ImportError: /usr/local/lib/python2.7/site-packages/PyQt4/ undefined symbol: PyUnicodeUCS2_AsLatin1String

To Fix This Issue you should recompile PyQt against Hython (Houdini Python)

The Process of Compile PyQt for Houdini 13 on Centos 6.5

## Create Folder Structure
mkdir /tmp/Houdini_PyQt
mkdir -p /tmp/Houdini_PyQt/{bin,include,include/python2.7,lib,lib/python2.7,plugins,share,share/sip}

## Install QT
cd /tmp
tar xvf qt-everywhere-opensource-src-4.8.6.tar.gz
cd qt-everywhere-opensource-src-4.8.6
make install
export PATH

## Install SIP
cd /tmp
tar xvf sip-4.16.2.tar.gz
cd sip-4.16.2
hython –bindir=/tmp/Houdini_PyQt/bin –destdir=/tmp/Houdini_PyQt/lib/python2.7 –incdir=/tmp/Houdini_PyQt/include/python2.7 –sipdir=/tmp/Houdini_PyQt/share/sip
make install

## Install PyQt4
cd /tmp
tar xvf PyQt-x11-gpl-4.11.1.tar.gz
cd PyQt-x11-gpl-4.11.1
## edit the and add the python command:
## sys.path.append(‘/tmp/Houdini_PyQt/lib/python2.7’) just before the line import sipconfig
hython –bindir=/tmp/Houdini_PyQt/bin –destdir=/tmp/Houdini_PyQt/lib/python2.7 –plugin-destdir=/tmp/Houdini_PyQt/plugins –sipdir=/tmp/Houdini_PyQt/share/sip –assume-shared
make install


Now copy /tmp/Houdini_PyQt folder to common location and add “Houdini_PyQt/lib/python2.7” in sys.path and add in PYTHONPATH

To Test PyQt4 in Houdini go to shelh and create new tool and in scripts window copy following code:


This Python Script will display Python and PyQt Version Installed in Houdini.
import sys
path = ‘/Houdini_PyQt/lib/python2.7’ # Add Houdini PyQt path here
if not path in sys.path:

import getpass
import PyQt4
import PyQt4.pyqtconfig
from PyQt4 import QtGui

PYQTVERSION = PyQt4.pyqtconfig.Configuration().pyqt_version_str
USER = getpass.getuser()
PYTHONVERSION = sys.version

app = QtGui.QApplication(sys.argv)
QtGui.QMessageBox.information(None, ‘PyQt Information’, ‘Hello %s\nyour python version is %s\n\nyour PyQt version is %s’% (USER,PYTHONVERSION,PYQTVERSION))


Now you are ready to drive with PyQt Gui Framework inside Houdini



2013 in review

Posted: December 31, 2013 in Uncategorized

The stats helper monkeys prepared a 2013 annual report for this blog.

Here’s an excerpt:

The Louvre Museum has 8.5 million visitors per year. This blog was viewed about 130,000 times in 2013. If it were an exhibit at the Louvre Museum, it would take about 6 days for that many people to see it.

Click here to see the complete report.

Posted: February 16, 2013 in Uncategorized

Feiticeir0's Blog

Moodle is a E-learning platform free as in free beer. Moodle is a CMS (Course Management System) and also known as a LMS (Learning Management System) or a VLE (Virtual Learning Environment).

I was in need to install a configure a system like this and I’ve chosen Moodle not also because is one of the best out there, but because is also free.

One of the key features that i was also needing was a video streaming and recording facility.  Moodle has it all (through plugins).

What I’m going to describe here is an installation of Moodle from the very beginning:

View original post 2,645 more words

Download setup:-

Extract Package and Access Directory

Apache OpenOffice 3.4.1

tar -xvf OpenOffice_3.4.1*

cd en-US

## Edit file
gedit /etc/yum.conf

## Add exclude row
[main]* libreoffice-ure*

rpm -Uvh RPMS/*.rpm RPMS/desktop-integration/openoffice.org3.4-redhat-*.rpm