www.emsdn.com
Class Profile: Home »» Python [Python] under "Python" »»» Need Help Installing wxPython on Slackware-10.1

Need Help Installing wxPython on Slackware-10.1


I have obviously missed a step here, but cannot see where it is.
From within /opt/wxPython-src-2.6.1.0/ I ran the .make script (from the
BUILD page on the web site) to make wxWidgets. That seemed to go K. After
this, from within the / directory, I ran
(as root), 'python setup.py build_ext build_glcanvas=0'. This, too. seemed to
run K. I'd like wxPython to be in
/
However, there is no file wxPython.wx on the system and I cannot import all
from within python (2.4) running in a shell (as a user).
I'd appreciate guidance here on what I left off.
TIA,
Rich


No. 1# | By Developer Tags User at [2008-5-4] | size: 917 bytes

Rich Shepard wrote:
I have obviously missed a step here, but cannot see where it is.

From within /opt/wxPython-src-2.6.1.0/ I ran the .make script (from the
BUILD page on the web site) to make wxWidgets. That seemed to go K. After
this, from within the / directory, I ran
(as root), 'python setup.py build_ext build_glcanvas=0'. This, too.
seemed to
run K. I'd like wxPython to be in
/

However, there is no file wxPython.wx on the system and I cannot
import all
from within python (2.4) running in a shell (as a user).

I'd appreciate guidance here on what I left off.

If you're wanting to install then you also need to read the install doc
(linked to in the first paragraph of the build doc.) The build doc is
focused on making a test build that you might use without installing,
and the install doc takes you to the next steps.

No. 1# | By Developer Tags User at [2008-5-4] | size: 537 bytes

Wed, 15 Jun 2005, Robin Dunn wrote:

If you're wanting to install then you also need to read the install doc
(linked to in the first paragraph of the build doc.) The build doc is
focused on making a test build that you might use without installing, and
the install doc takes you to the next steps.

Robin,

I've tried the 'python setup.py install', but it keeps choking on the lack
of opengl. So, I'm rebuilding with opengl support to see if that helps.

Thanks,

Rich

No. 1# | By Developer Tags User at [2008-5-4] | size: 549 bytes

Wed, 15 Jun 2005, Robin Dunn wrote:

If you're wanting to install then you also need to read the install doc
(linked to in the first paragraph of the build doc.) The build doc is
focused on making a test build that you might use without installing, and
the install doc takes you to the next steps.

Robin.

Success, at last! I rebuilt with opengl support and this time it all worked
just fine. the 'setup.py install' was happy and I can load the module from
within python.

Thanks,

Rich



Python Hot!

Python New!


Copyright © 2008 www.emsdn.com • All rights reserved • CMS Theme by www.emsdn.com - 0.188