Where to Obtain wxversion.py?

An application I use now needs wxversion to build. I'm having a very
difficult time finding it. Even the PyPI site refers me to some other
application when I search for it.

   I'd greatly appreciate a pointer fo finding the module so I can install it
with -2.8.12.1 here.

TIA,

Rich

That’s probably a leftover from the old naming scheme. The new name
would be wx.version:

···

Rich Shepard wrote:


   An application I use now needs wxversion to build. I'm having a very
difficult time finding it. Even the PyPI site refers me to some other
application when I search for it.
I'd greatly appreciate a pointer fo finding the module so I can install it
with -2.8.12.1 here.

C:\tmp>python

  Python 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit

(Intel)] on win 32

  Type "help", "copyright", "credits" or "license" for more

information.

  >>> import wx

  >>> wx.version()

  '2.8.12.1 (msw-unicode)'
-- Tim Roberts, Providenza & Boekelheide, Inc.

timr@probo.com

Comes in the project files:
https://github.com/wxWidgets/wxPython/tree/master/wxversion

···

On Friday, March 28, 2014 11:14:18 AM UTC-7, fuzzydoc wrote:

An application I use now needs wxversion to build. I’m having a very

difficult time finding it. Even the PyPI site refers me to some other

application when I search for it.

I’d greatly appreciate a pointer fo finding the module so I can install it

with -2.8.12.1 here.

TIA,

Rich

Tim,

   Regardless, there's no wx.version here:

[rshepard@salmo ~]$ locate wx.version
[rshepard@salmo ~]$

   Is it available somewhere as an installable module?

Thanks,

Rich

···

On Fri, 28 Mar 2014, Tim Roberts wrote:

That's probably a leftover from the old naming scheme. The new name
would be wx.version:

--
Richard B. Shepard, Ph.D. | Have knowledge, will travel.
Applied Ecosystem Services, Inc. |
www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863

Thanks, Nathan.

Rich

···

On Fri, 28 Mar 2014, Nathan McCorkle wrote:

Comes in the project files:
https://github.com/wxWidgets/wxPython/tree/master/wxversion

--
Richard B. Shepard, Ph.D. | Have knowledge, will travel.
Applied Ecosystem Services, Inc. |
www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863

Nathan, Tim, et al.:

   I removed the -2.8.12.1 SlackBuild package and built/installed -3.0.0.0
from source following the build instructions on the wxPython Web site using
this command:

python2.7 build-wxpython.py --build_dir=../bld --install

   When I look for wxversion this is what I find:
[root@salmo ~]# find / -name wxversion
/opt/slackbuilds/Python/wxPython/wxPython-src-3.0.0.0/wxPython/wxversion

   So I ran 'python2.7 setup.py install' and everything looks OK, with this
one warning, "warning: wx_install: path file
'/usr/lib/python2.7/site-packages/wx-3.0-gtk2.pth' not created"

   But, when I try building one application that requires wxPython and
wxversion, it fails. Trying to correct that by cd'ing to the problem
directory and running 'make' seems to work. But, after installing the
application, when I try running I get:

ERROR: wxGUI requires wxPython. libwx_gtk2u_xrc-3.0.so.0: cannot open shared
object file: No such file or directory

   Has anyone some ideas on what's happening here? And, suggestions how I
should proceed?

Thanks,

Rich

···

On Fri, 28 Mar 2014, Nathan McCorkle wrote:

Comes in the project files:
https://github.com/wxWidgets/wxPython/tree/master/wxversion

Think that I've isolated the problem. I find
/usr/lib/python2.7/site-packages/wx-3.0-gtk2/wx/py/version.py (and .pyc) so
the module is installed.

   The problem is with the application that uses this module: there is not a
configuration option to specify the directory where version.py lives and the
make file is not finding it.

Carpe weekend, all,

Rich

···

On Fri, 28 Mar 2014, Rich Shepard wrote:

Has anyone some ideas on what's happening here? And, suggestions how I
should proceed?

Turns out that I haven't.

   From the main grass-6.5svn/ directory's error.log:

GRASS GIS compilation log

···

On Fri, 28 Mar 2014, Rich Shepard wrote:

Think that I've isolated the problem.

-------------------------
Started compilation: Fri Mar 28 14:34:50 PDT 2014
--
Errors in:
/home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython
--
In case of errors please change into the directory with error and run 'make'.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.
--
Finished compilation: Fri Mar 28 14:44:19 PDT 2014

   In ../gui/wxpython/ I run 'make' and see this output:

make parsubdirs
make[1]: Entering directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython'
make -C docs || echo /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs >> /home/rshepard/GIS/GRASS/grass-6.5svn/error.log
make[2]: Entering directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
for file in wxGUI wxGUI.PsMap wxGUI.Vector_Digitizer wxGUI.Components wxGUI.Modeler wxGUI.GCP_Manager wxGUI.Nviz wxGUI.Attribute_Table_Manager ; do \
     rm -f $file.tmp.html ; \
     rm -f "/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html/$file.html"; \
     make htmldir PGM=$file; \
done
make[3]: Entering directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
make /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html/wxGUI.html
make[4]: Entering directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
if [ "" != "" ] ; then GISRC=/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/demolocation/.grassrc65 GISBASE=/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu PATH="/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/bin:$PATH" LD_LIBRARY_PATH="/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/bin:/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/lib:/usr/lib/qt/lib:/usr/lib/qt/lib:" LC_ALL=C --html-description < /dev/null | grep -v '</body>\|</html>' > wxGUI.tmp.html ; true ; fi
../../../tools/mkhtml.sh wxGUI ; mkdir -p /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; /usr/bin/ginstall -c -m 644 wxGUI.tmp.html /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html/wxGUI.html ; for file in *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null ; if [ $? -ne 0 ] ; then /usr/bin/ginstall -c -m 644 $file /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; fi done 2> /dev/null ; true
make[4]: Leaving directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
make[3]: Leaving directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
make[3]: Entering directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
make /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html/wxGUI.PsMap.html
make[4]: Entering directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
if [ "" != "" ] ; then GISRC=/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/demolocation/.grassrc65 GISBASE=/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu PATH="/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/bin:$PATH" LD_LIBRARY_PATH="/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/bin:/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/lib:/usr/lib/qt/lib:/usr/lib/qt/lib:" LC_ALL=C --html-description < /dev/null | grep -v '</body>\|</html>' > wxGUI.PsMap.tmp.html ; true ; fi
../../../tools/mkhtml.sh wxGUI.PsMap ; mkdir -p /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; /usr/bin/ginstall -c -m 644 wxGUI.PsMap.tmp.html /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html/wxGUI.PsMap.html ; for file in *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null ; if [ $? -ne 0 ] ; then /usr/bin/ginstall -c -m 644 $file /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; fi done 2> /dev/null ; true
make[4]: Leaving directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
make[3]: Leaving directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
make[3]: Entering directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
make /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html/wxGUI.Vector_Digitizer.html
make[4]: Entering directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
if [ "" != "" ] ; then GISRC=/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/demolocation/.grassrc65 GISBASE=/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu PATH="/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/bin:$PATH" LD_LIBRARY_PATH="/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/bin:/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/lib:/usr/lib/qt/lib:/usr/lib/qt/lib:" LC_ALL=C --html-description < /dev/null | grep -v '</body>\|</html>' > wxGUI.Vector_Digitizer.tmp.html ; true ; fi
../../../tools/mkhtml.sh wxGUI.Vector_Digitizer ; mkdir -p /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; /usr/bin/ginstall -c -m 644 wxGUI.Vector_Digitizer.tmp.html /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html/wxGUI.Vector_Digitizer.html ; for file in *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null ; if [ $? -ne 0 ] ; then /usr/bin/ginstall -c -m 644 $file /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; fi done 2> /dev/null ; true
make[4]: Leaving directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
make[3]: Leaving directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
make[3]: Entering directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
make /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html/wxGUI.Components.html
make[4]: Entering directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
if [ "" != "" ] ; then GISRC=/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/demolocation/.grassrc65 GISBASE=/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu PATH="/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/bin:$PATH" LD_LIBRARY_PATH="/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/bin:/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/lib:/usr/lib/qt/lib:/usr/lib/qt/lib:" LC_ALL=C --html-description < /dev/null | grep -v '</body>\|</html>' > wxGUI.Components.tmp.html ; true ; fi
../../../tools/mkhtml.sh wxGUI.Components ; mkdir -p /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; /usr/bin/ginstall -c -m 644 wxGUI.Components.tmp.html /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html/wxGUI.Components.html ; for file in *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null ; if [ $? -ne 0 ] ; then /usr/bin/ginstall -c -m 644 $file /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; fi done 2> /dev/null ; true
make[4]: Leaving directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
make[3]: Leaving directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
make[3]: Entering directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
make /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html/wxGUI.Modeler.html
make[4]: Entering directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
if [ "" != "" ] ; then GISRC=/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/demolocation/.grassrc65 GISBASE=/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu PATH="/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/bin:$PATH" LD_LIBRARY_PATH="/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/bin:/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/lib:/usr/lib/qt/lib:/usr/lib/qt/lib:" LC_ALL=C --html-description < /dev/null | grep -v '</body>\|</html>' > wxGUI.Modeler.tmp.html ; true ; fi
../../../tools/mkhtml.sh wxGUI.Modeler ; mkdir -p /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; /usr/bin/ginstall -c -m 644 wxGUI.Modeler.tmp.html /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html/wxGUI.Modeler.html ; for file in *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null ; if [ $? -ne 0 ] ; then /usr/bin/ginstall -c -m 644 $file /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; fi done 2> /dev/null ; true
make[4]: Leaving directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
make[3]: Leaving directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
make[3]: Entering directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
make /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html/wxGUI.GCP_Manager.html
make[4]: Entering directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
if [ "" != "" ] ; then GISRC=/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/demolocation/.grassrc65 GISBASE=/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu PATH="/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/bin:$PATH" LD_LIBRARY_PATH="/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/bin:/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/lib:/usr/lib/qt/lib:/usr/lib/qt/lib:" LC_ALL=C --html-description < /dev/null | grep -v '</body>\|</html>' > wxGUI.GCP_Manager.tmp.html ; true ; fi
../../../tools/mkhtml.sh wxGUI.GCP_Manager ; mkdir -p /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; /usr/bin/ginstall -c -m 644 wxGUI.GCP_Manager.tmp.html /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html/wxGUI.GCP_Manager.html ; for file in *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null ; if [ $? -ne 0 ] ; then /usr/bin/ginstall -c -m 644 $file /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; fi done 2> /dev/null ; true
make[4]: Leaving directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
make[3]: Leaving directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
make[3]: Entering directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
make /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html/wxGUI.Nviz.html
make[4]: Entering directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
if [ "" != "" ] ; then GISRC=/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/demolocation/.grassrc65 GISBASE=/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu PATH="/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/bin:$PATH" LD_LIBRARY_PATH="/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/bin:/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/lib:/usr/lib/qt/lib:/usr/lib/qt/lib:" LC_ALL=C --html-description < /dev/null | grep -v '</body>\|</html>' > wxGUI.Nviz.tmp.html ; true ; fi
../../../tools/mkhtml.sh wxGUI.Nviz ; mkdir -p /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; /usr/bin/ginstall -c -m 644 wxGUI.Nviz.tmp.html /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html/wxGUI.Nviz.html ; for file in *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null ; if [ $? -ne 0 ] ; then /usr/bin/ginstall -c -m 644 $file /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; fi done 2> /dev/null ; true
make[4]: Leaving directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
make[3]: Leaving directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
make[3]: Entering directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
make /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html/wxGUI.Attribute_Table_Manager.html
make[4]: Entering directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
if [ "" != "" ] ; then GISRC=/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/demolocation/.grassrc65 GISBASE=/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu PATH="/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/bin:$PATH" LD_LIBRARY_PATH="/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/bin:/home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/lib:/usr/lib/qt/lib:/usr/lib/qt/lib:" LC_ALL=C --html-description < /dev/null | grep -v '</body>\|</html>' > wxGUI.Attribute_Table_Manager.tmp.html ; true ; fi
../../../tools/mkhtml.sh wxGUI.Attribute_Table_Manager ; mkdir -p /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; /usr/bin/ginstall -c -m 644 wxGUI.Attribute_Table_Manager.tmp.html /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html/wxGUI.Attribute_Table_Manager.html ; for file in *.png *.jpg ; do head -n 1 $file | grep '^#!' > /dev/null ; if [ $? -ne 0 ] ; then /usr/bin/ginstall -c -m 644 $file /home/rshepard/GIS/GRASS/grass-6.5svn/dist.i686-pc-linux-gnu/docs/html ; fi done 2> /dev/null ; true
make[4]: Leaving directory
/home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs' make[3]: Leaving
directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs' make[2]:
Leaving directory /home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython/docs'
make[1]: Leaving directory
/home/rshepard/GIS/GRASS/grass-6.5svn/gui/wxpython'

   Then, as root, I 'make install'. But, when I start GRASS I see:

[rshepard@salmo ~/GIS/GRASS/grass-6.5svn]$ grass65 Cleaning up temporary files ...
Starting GRASS ...
ERROR: wxGUI requires wxPython. libwx_gtk2u_xrc-3.0.so.0: cannot open shared
object file: No such file or directory
Error in GUI startup. If necessary, please
report this error to the GRASS developers.
Switching to text mode now.
Hit RETURN to continue...

   Does this provide more detailed information that might lead one of you
developers to figure out where the problem is?

Thanks in advance,

Rich

--
Richard B. Shepard, Ph.D. | Have knowledge, will travel.
Applied Ecosystem Services, Inc. |
www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863

Oops! Mea culpa! Wrong mail list.

Rich

···

On Fri, 28 Mar 2014, Rich Shepard wrote:

Turns out that I haven't.

--
Richard B. Shepard, Ph.D. | Have knowledge, will travel.
Applied Ecosystem Services, Inc. |
www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863

Rich,

When I try on my machine I get the following:
~$ python -c'import wxversion; print wxversion.__file__;print wxversion.getInstalled();'
/usr/local/lib/python2.7/dist-packages/wxversion.pyc
['3.0-gtk2', '2.8-gtk2-unicode']

I suspect the problem might be that when you do the make --install you need to be in super user mode for it to actually install to the system paths, try sudo python2.7 build-wxpython.py --build_dir=../bld --install

Gadget/Steve

···

On 28/03/14 21:07, Rich Shepard wrote:

<SNIP>

  I removed the -2.8.12.1 SlackBuild package and built/installed -3.0.0.0
from source following the build instructions on the wxPython Web site using
this command:

  When I look for wxversion this is what I find:
[root@salmo ~]# find / -name wxversion
/opt/slackbuilds/Python/wxPython/wxPython-src-3.0.0.0/wxPython/wxversion

<SNIP>

ERROR: wxGUI requires wxPython. libwx_gtk2u_xrc-3.0.so.0: cannot open shared
object file: No such file or directory

  Has anyone some ideas on what's happening here? And, suggestions how I
should proceed?

Thanks,

Rich

I found that I had to use elevated privileges to build/install wxPython on Ubuntu, I also had to make a few changes to tell the system where to find some things. Check out https://groups.google.com/forum/#!topic/wxpython-users/LARvnGEqyR4. Its regarding Ubuntu 13.10, but should help a bit.

···

On Friday, March 28, 2014 2:14:18 PM UTC-4, fuzzydoc wrote:

An application I use now needs wxversion to build. I’m having a very

difficult time finding it. Even the PyPI site refers me to some other

application when I search for it.

I’d greatly appreciate a pointer fo finding the module so I can install it

with -2.8.12.1 here.

TIA,

Rich

It turns out that my problem was caused by removing wxGTK because of an
erroneous statement that it conflicts with, and is included in, wxPython. Of
course, that's not the case. Building/installing wxPython-3.0.0.0 and wxGTK3
solved all problems.

Thanks,

Rich

···

On Friday, March 28, 2014 2:14:18 PM UTC-4, fuzzydoc wrote:

  An application I use now needs wxversion to build. I'm having a very
difficult time finding it. Even the PyPI site refers me to some other
application when I search for it.