PySide installation on opensuse 11.4
-
Hi,
I can't get the basic test for my installation to run.
It looks like
@
import PySide
print PySide.version
@And will be run like "python test.py." It tells me "ImportError: No module named PySide".
How did I install PySide?
Buy downloading the buildscripts from http://qt.gitorious.org/pyside/buildscripts (which is a link somewhere on pyside.org). And executing their "build_and_install" script. The script ran without giving me any obvious errors. For me it looked like a fine install.I also set many environment variables before executing that test.py. Like it is done in the environment.sh which came with the buildscripts.
Just to let you know: I have installed python 2.7. The environment.sh is this:
@
#!/bin/shexport BUILD_TYPE=Release
If you want to build a Debug release, make sure to have the
debugging version of Python installed and uncomment this line:
#export BUILD_TYPE=Debug
Get the Python version as "pythonx.y", e.g. "python2.6"
PYTHONXY=
python -V 2>&1 | sed -e 's/Python 2\.\([0-9]*\).*/python2.\1/'
export PYSIDESANDBOXPATH=$HOME/pkg/pyside-sandbox
export PATH=$PYSIDESANDBOXPATH/bin:$PATH
export PYTHONPATH=$PYSIDESANDBOXPATH/lib/$PYTHONXY/site-packages:$PYSIDESANDBOXPATH/lib64/$PYTHONXY/site-packages:$PYTHONPATH
export LD_LIBRARY_PATH=$PYSIDESANDBOXPATH/lib:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=$PYSIDESANDBOXPATH/lib/pkgconfig:$PKG_CONFIG_PATH
export DYLD_LIBRARY_PATH=$PYSIDESANDBOXPATH/lib:$DYLD_LIBRARY_PATHIf you want to use Qt SDK, uncomment the following line, or set the
environment variable $QT_SDK_HOME in something like your ~/.profile
#QT_SDK_HOME="$HOME/qtsdk-2010.05"
if [ "$QT_SDK_HOME" != "" ]; then
export PATH=$QT_SDK_HOME/bin:$QT_SDK_HOME/qt/bin:$PATH
export LD_LIBRARY_PATH=$QT_SDK_HOME/lib:$LD_LIBRARY_PATH
export QTDIR=$QT_SDK_HOME/qt:$QTDIR
fi
@Does anyone know what I missed to do or is missing?
Btw. I was not yet able to google/search the solution by myself -.-.