LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-12-2010, 06:43 AM   #1
PClOStinspace
Member
 
Registered: Jun 2008
Location: Bracknell, UK
Distribution: Ubuntu, mostly!
Posts: 161

Rep: Reputation: 20
Question 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??
 
Old 12-12-2010, 06:56 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.

..
 
Old 12-12-2010, 07:11 AM   #3
PClOStinspace
Member
 
Registered: Jun 2008
Location: Bracknell, UK
Distribution: Ubuntu, mostly!
Posts: 161

Original Poster
Rep: Reputation: 20
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.

Last edited by PClOStinspace; 12-12-2010 at 07:17 AM.
 
Old 12-12-2010, 02:00 PM   #4
matteoboscolo
LQ Newbie
 
Registered: Dec 2010
Location: Italy
Distribution: Debian Forever I really love it
Posts: 2

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

Regards,
Matteo
 
Old 12-12-2010, 02:28 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
@ 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.
..

Last edited by knudfl; 12-12-2010 at 02:29 PM.
 
Old 12-13-2010, 01:08 AM   #6
matteoboscolo
LQ Newbie
 
Registered: Dec 2010
Location: Italy
Distribution: Debian Forever I really love it
Posts: 2

Rep: Reputation: 0
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 ?
 
Old 12-13-2010, 11:12 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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' ?

..

Last edited by knudfl; 12-13-2010 at 11:30 AM.
 
Old 12-13-2010, 04:16 PM   #8
PClOStinspace
Member
 
Registered: Jun 2008
Location: Bracknell, UK
Distribution: Ubuntu, mostly!
Posts: 161

Original Poster
Rep: Reputation: 20
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?

Last edited by PClOStinspace; 12-13-2010 at 04:18 PM.
 
  


Reply

Tags
installing, pycad, pycad r38, python, source


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble installing any OS IX_EquilibriuM Linux - Newbie 9 10-12-2010 03:45 PM
Installing Vega Strike, having trouble installing SDL_mixer-devel captainxark Fedora 3 09-13-2008 06:29 PM
Installing Trouble! Drenerk Linux - Newbie 6 03-01-2005 12:30 PM
Trouble installing RH 8.0??? hoba Linux - Newbie 4 06-13-2003 06:45 AM
Trouble installing Qt. Manyguns Linux - General 0 04-22-2002 09:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration