[help needed] cant install PythonCard

i have python version 2.5.2
im trying to install file “PythonCard-0.8.2-1mdk.noarch.rpm”
of course that needs wxPython
i tried installing
“wxPython-common-gtk2-unicode-2.8.9.1-fc7_py2.5.i386.rpm”
and got a dependency error that looked like:
“python(abi) = 2.5 is needed by …”
tried installing older version “wxPython-common-gtk2-unicode-2.5.4.1-mdk101_py2.3.i586.rpm”
and get a whole list of failed dependencies

ive worked in this for a long time, its starting to make me mad

im not new to linux, but i am new to suse. i’ve always used .deb’s and apt-get…

if anyone has a suggestion please help

Hi
mandrake and fedora rpms will not play well with openSUSE… Have a
look here and search on wxPython;
Get It

Then download the pythoncard source file and look at the readme file on
what to do (It’s just a matter of placing in the right directory for
your python environment).


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
up 20:54, 2 users, load average: 0.03, 0.18, 0.22
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

thanks, i get no more errors now.
everything installs fine up until the last part of PythonCard install when i run (as root) “./setup.py install” i get “unable to open /usr/lib/python2.5/config/Makefile (No such file or directory)”
i went to the directory and there is no config folder… strange… i opened all other versions of the python folders, and the only one that DID have a config folder was 2.6, and the makefile had version 2.6 written on the code on the inside, so i figured there might be more version-specific code inside, but i may be wrong.
is it safe to copy the 2.6 version of the makefile into the 2.5 folder? or am i missing something?

the 2.6 makefile has in it:

=== Variables set by configure

VERSION= 2.6

if you did not understand what i am trying to say

ok i made a workaround for that (not completely sure it will work) then run it again and i get “/usr/include/python2.5/pyconfig.h (No such file or directory)”
i even tried reinstalling python from source code…(which is also where i found the Makefile that i used as a workaround from previously haha)
since it’s found 2 different missing files right off, i believe i am missing a package or have the wrong version… any ideas?

Hi
You need to install python-devel. Generally when configuring from
source and it stops on an error, you need to install a corresponding
devel rpm.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
up 22:54, 1 user, load average: 0.09, 0.27, 0.25
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

ok ok ok realized that while python directories should have been /usr/include/python2.5/ and /usr/lib/python2.5/ it was installing to /usr/local/ whatever same directories
so just rm, cp… done!
go back to PythonCard… installs, no errors.
but if i type pythoncard in terminal it says command not found.
if i type pythoncard inside the python command prompt (just type python in terminal) it says something about it not being defined…
but it doesnt says its not installed so i guess thats a good thing right?
also after this install there is a bunch of extra new apps installed like pycrust and pyshell and programmers notepad, but none of these launch and some of them give a bug report…
well thanks for the help so far, im done for tonight…

edit: ahhh totaly missed your last post lol will install that now and see what happens. will probably fix those programs not loading properly

edit 2: after installing python-devel it makes little difference, pycrust still does not do anything at all, the others give errors.

This was surprisingly painful in opensuse11.1

steps:

  1. sudo zypper in python-wxGTK, python-devel
  2. download pythoncard.tar.gz from Download PythonCard 0.8.2 for Linux - PythonCard is a GUI construction kit for building cross-platform desktop applications on Windows, Mac OS X, and Linux. - Softpedia
  3. tar xvfz PythonCard-0.8.2.tar.gz
  4. cd PythonCard-0.8.2
  5. sudo python setup.py install

then you can run the codeEditor like this
$ python ~/PythonCard-0.8.2/tools/codeEditor/codeEditor.py

the README.txt is not too helpful…