LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Trouble installing PyCAD R38 (http://www.linuxquestions.org/questions/linux-software-2/trouble-installing-pycad-r38-849741/)

PClOStinspace 12-12-2010 06:43 AM

Trouble installing PyCAD R38
 
I'm having troubles most likely due to my stupidity here!!

I have visited:-
http://sourceforge.net/projects/pyth...4.zip/download
and downloaded PythonCAD_Alfa_04.zip. I then extracted it and read the installation instructions enclosed:-

From Source (All Platform)
Install Python 2.6 or later
Install Sympy
Install Pyqt

execute python pythoncad_qt.py (under the pythoncad Folder)

So following this I checked in synaptic to see if I had Python, Sympy & Pyqt, all good. Then I cd'd into the extracted directory and did:-
Code:

gregg@burt:~/Desktop/PythonCAD$ pythoncad_qt.py
pythoncad_qt.py: command not found
gregg@burt:~/Desktop/PythonCAD$

So what am I missing here??

knudfl 12-12-2010 06:56 AM

gregg@burt:~/Desktop/PythonCAD$ pythoncad_qt.py
is not supposed to work. "pythoncad_qt.py" is not in your path.
( And pythoncad_qt.py is not executable.)
Path is /bin:/usr/bin:/usr/local/bin/ etc. $ 'env | grep PATH' will tell.


The command 'python pythoncad_qt.py' will work.

..

PClOStinspace 12-12-2010 07:11 AM

Thanks, tried this and the terminal seemed to like it better but still not quite doing as I expected, it has just dropped a line and I have a flashing cursor with no 'gregg@burt:~' at the beggining as it usually does. Is this correct??

Edit

I'm a moron!! the app had launched under my web browser, Thanks for the help.

matteoboscolo 12-12-2010 02:00 PM

Hi, can you tell me your distro, your python version and qt version installed ?
Did you have any shell error ?

Regards,
Matteo

knudfl 12-12-2010 02:28 PM

@ matteoboscolo : Welcome to LQ.

Why not tell, what you are using ? Please tell by every question !
http://www.linuxquestions.org/linux/...Ask_a_Question
http://www.catb.org/~esr/faqs/smart-questions.html

As you can see from the @PClOStinspace profile, it's Ubuntu 10.04 Lucid.
Prerequisites for PyCAD in Ubuntu :

sudo apt-get install python-qt4 python-sympy
( python2.6 / libpython2.6 is installed by default on Lucid.)

PyCAD will work on any Linux with Python-2.6 or later + Sympy + PyQt4 installed.
The terminal shows no errors on any of the tested distros.
PyCAD is alpha software and may have limited functionality.
..

matteoboscolo 12-13-2010 01:08 AM

If I have understood well the application start and as soon you draw a line a delete it the program will crash
I'm right ?

knudfl 12-13-2010 11:12 AM

Post #6
Quote:

... as soon you draw a line and delete it, the program will crash.
1) Choose the 'Segment' button .... and select start and end points
in the "drawing area" : You have created a line.

2) Edit > > Undo : The line disappears. No crash.
Or highlight the line. Next : Modify > > Delete. No crash.

We are still waiting for you to tell, which OS you have :
Debian Etch, Debian Lenny, Debian Squeeze ? Sid ?
And what is the reply from : 'python --version' ?

..

PClOStinspace 12-13-2010 04:16 PM

Sorry, need to update my info, I'm now on Ubuntu 10.10.
Code:

gregg@burt:~$ python --version
Python 2.6.6

I have PyCAD working fine now, I was just being a bit dense. I don't have this crashing situation occuring at all, is that the problem you're having?


All times are GMT -5. The time now is 07:43 PM.