Hi,
I am new to python and work on installing wxPython from source on
Linux CentOS.
I did the following:
../configure --prefix=/home/${USER}/wxPython/ --enable-unicode --
enable-monolithic --enable-rpath=/home/slevin/wxPython/lib
make
&& make -C contrib/src/gizmos
&& make -C contrib/src/stc
make install && make -C contrib/src/gizmos install && make -C contrib/
src/stc install
I have updated the env
setenv PATH "${PATH}:/home/${USER}/wxPython/bin"
setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:/home/${USER}/wxPython/lib"
setenv PYTHONPATH "${PYTHONPATH}:/home/${USER}/wxPython/lib:/home/
slevin/wxPython/bin"
When I run
python
import wx
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named wx
python --version
Python 2.6.6
I need this installation for robotframework tool.
Thanks a lot in advance.
Stella
Hi,
I am new to python and work on installing wxPython from source on
Linux CentOS.
I did the following:
../configure --prefix=/home/${USER}/wxPython/ --enable-unicode --
enable-monolithic --enable-rpath=/home/slevin/wxPython/lib
make
&& make -C contrib/src/gizmos
&& make -C contrib/src/stc
make install&& make -C contrib/src/gizmos install&& make -C contrib/
src/stc install
I have updated the env
setenv PATH "${PATH}:/home/${USER}/wxPython/bin"
setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:/home/${USER}/wxPython/lib"
setenv PYTHONPATH "${PYTHONPATH}:/home/${USER}/wxPython/lib:/home/
slevin/wxPython/bin"
When I run
python
import wx
Traceback (most recent call last):
File "<stdin>", line 1, in<module>
ImportError: No module named wx
python --version
Python 2.6.6
I need this installation for robotframework tool.
Thanks a lot in advance.
Stella
Hi Stella,
I install wxPython 2.8.* on Linux Mandriva with these commands :
cd wxPython-src-2.8.*
mkdir bld
cd bld
../configure --prefix=/usr --with-gtk --with-gnomeprint --with-opengl --enable-debug --enable-geometry --enable-graphics_ctx --enable-sound --with-sdl --enable-mediactrl --enable-display --disable-debugreport
make && make -C contrib/src/gizmos && make -C contrib/src/stc
make install && make -C contrib/src/gizmos install && make -C contrib/src/stc install
cd ../wxPython
python setup.py build_ext --inplace --debug UNICODE=0
python setup.py install UNICODE=0
Hi,
I am new to python and work on installing wxPython from source on
Linux CentOS.
I did the following:
../configure --prefix=/home/${USER}/wxPython/ --enable-unicode --
enable-monolithic --enable-rpath=/home/slevin/wxPython/lib
make
&& make -C contrib/src/gizmos
&& make -C contrib/src/stc
make install&& make -C contrib/src/gizmos install&& make -C contrib/
src/stc install
I have updated the env
setenv PATH "${PATH}:/home/${USER}/wxPython/bin"
setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:/home/${USER}/wxPython/lib"
setenv PYTHONPATH "${PYTHONPATH}:/home/${USER}/wxPython/lib:/home/
slevin/wxPython/bin"