Re: No module named PythonCard

Phil Edwards <[email protected]>
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
Julian Bentayeb wrote:
> I got the PythonCard-0.8.2.tar,gz file.  The resulting files are 
> mostly .py and .txt files and I dont see any configure and make files.
> The readme file suggest putting the PythonCard dir in my Python path.
> As a novice, I am lost.
> Could you please help?
No problem - what you need to do is as follows:

1. Open a shell session (xterm, konsole, gnome-terminal, whatever you 
prefer)
2. Type 'su -' and enter your root password
3. Type 'cd /home/julian/<blah>', replacing the '<blah>' part with the 
directory where you've put all of the PythonCard files from the tarball
4. Type 'python ./setup.py install'

If you get any error messages at step (4), you may need to type 'python 
./setup.py build' followed by 'python ./setup.py install' - it's been a 
while since I installed PythonCard from the source tarball, and I can't 
remember whether the 'install' part is clever enough to realize that the 
'build' part needs to be done as well.

This will put everything in the right places ad you ought to be able to 
run the samples to prove that it all works. Good luck!

--
Regards

Phil Edwards
Brighton, UK

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.