Newbie question 4.0.2 installation

52 views
Skip to first unread message

Ken Barron

unread,
Jun 20, 2018, 12:27:02 PM6/20/18
to wxPython-users
Hi there I'm new to Linux and wxPython and am having some trouble with understanding the installation.  I need to have wxPython installed in order to use Symoro+, a piece of software for modelling robotics.

I used the command 'sudo python setup.py develop' from the wxPython-4.0.2 directory and now when I use the 'pip freeze' command I see wxPython listed in the list of packages displayed.


















Does this mean that wxPython is correctly installed?  I'm asking because when I attempt to run Symoro+ I'm getting error messages related to wxPython.  The picture below shows the output errors for before and after I run the command 'sudo python setup.py develop'


















I'd really appreciate if someone with some experience could explain what's going on a little.

Thanks

john fabiani`

unread,
Jun 20, 2018, 1:50:24 PM6/20/18
to wxpytho...@googlegroups.com

from the command line try to import wx - if works then most likely you have it install correctly.  BTW you cut off the last part of the error message and I can't tell if there is something wrong with import wx __init__.

It's also my understanding the you can install using pip even for Linux (which this appears to be).

Johnf

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Robin Dunn

unread,
Jun 20, 2018, 3:31:41 PM6/20/18
to wxPython-users

On Wednesday, June 20, 2018 at 10:50:24 AM UTC-7, johnf wrote:

It's also my understanding the you can install using pip even for Linux (which this appears to be).




Ken Barron

unread,
Jun 21, 2018, 4:42:03 AM6/21/18
to wxpytho...@googlegroups.com
John the error message that was cut off is identical to the one above it that was shown in full. The first error message is the one that was before I used 'sudo python setup.py develop' in the wxpython directory.  What do you mean by importing wx?  can you give an example of the syntax for this command?




--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

Barrowman

unread,
Jun 21, 2018, 11:53:12 AM6/21/18
to wxpytho...@googlegroups.com
On my Linux Mint 18.2 system I have python 2.7.12 as the default
I also have python 3.5.2 and python 3.6 installed. Because of this and
because I use wx Phoenix I need to run python 3.x so normally 3.5.2. To run
this and the import I would do:

python3
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> quit()
Gets me back to the command prompt.
If you have just python 3.x on your system you can probably start the above
by simply typing "python" rather than "python3".
If you get no errors from the above wx is installed correctly




--
Sent from: http://wxpython-users.1045709.n5.nabble.com/

john fabiani`

unread,
Jun 21, 2018, 11:54:54 AM6/21/18
to wxpytho...@googlegroups.com

I see that you may have solved the problem you are having - but to answer your question directly you do the following:

From the command line:

$ python

> import wx

If above works then most likely wxPython is working.

Also the newest version of wxPython can be install using "pip".

If you are a newbie to python then use YouTube to watch one of the many tutorial available and that should help you understand my comments.


Johnf

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-user...@googlegroups.com.

Ken Barron

unread,
Jun 21, 2018, 12:03:45 PM6/21/18
to wxpytho...@googlegroups.com
Thanks guys, I didn't get any errors from using the import command so I assume that my installation is correct.  Which leads me to the conclusion that the problem is the compatibility of Symoro+ with v4+ of wxPython.  I've downloaded an older version 2.8.12.1 but I'm finding the installation instructions a lot less easy to understand compared with the new version.  I've made a topic about it "2.8.12 installation" if you have any advice it would be much appreciated.
Reply all
Reply to author
Forward
0 new messages