Installation

Linux Installation Procedure

The depencies for PythonCAD R38 is Python, Sympy, and Pyqt installed before you can run PythonCAD. Installing these programs is highly platform specific, so no installation guide for these requirements can be provided here. You need to follow whatever steps your platform requires, whether it is installation via a pre-built package or a download/compile/install routine.

The Sympy library has not been updated for Python v3.0 and up. Change the directory to the PythonCAD folderthat contains the python_qt.py file. The way to run PythonCAD is:

$ python2 python_qt.py

Running this command from now on will start PythonCAD. If this does not work try this command:

$ python2.6 python_qt.py

The examples above assume that you do not need to be the root user to do the installation. Whether you do the installation as the administrator or not depends on your system configuration.

Update: PythonCAD has a means of reading a global and user preference file. Installing the global preference file will require root access. To install the file prefs.py, as the root user do the following.

# mkdir /etc/pythoncad
# cp prefs.py /etc/pythoncad

The preferences file prefs.py is written in Python. There are numerous comments in it describing the various items that can be set, and the file also has examples of adding new linetypes, drawing styles, and dimension styles to PythonCAD. This file can also be copied into a .pythoncad directory in a user home directory, allowing an individual user to add additional customization to PythonCAD beyond those in the global preferences file.

Debian Procedure

R37 is an unsupported, but stable version of PythonCAD. It is also available in the Ubuntu repositories. If wanting to run the R38, folow the instructions for Linux Installation Procedure. The examples below assume that you do not need to be the root user to do the installation. Whether you do the installation as the administrator or not depends on your system configuration.

Command Line Installation

Setup your set up your /etc/apt/source.list in stable or testing

#apt-get update
#apt-get install pythoncad

Synaptic Package Manager

Search for PythonCad and install it.

Windows Installation Procedure

The following method has been tested with Windows Vista Ultimate. Note that for other versions of windows you may need to change something.

The only requirement for installation is obtaining the .exe file from the PythonCAD sourceforge website. Make sure to download the file witht he extension .exe.

Before you proceed with the installation make sure you have Administrative privileges. Double click the .exe file to start the setup process. The setup offers multi-language support.

There are multiple ways to run PythonCAD. PythonCAD can be found in the start menu. Double clicking the pythoncad_qt.exe file in the installation directory (typically C:\Program Files\PythonCad). Also double clicking a drawing file will launch PythonCAD.

Mac Installation Procedure

Note; ~very~ beta procedure, compiling rights on system required. Installation process not written for most up to date PythonCAD program.

PythonCad Installation tasks for OS X Tiger 10.4.x;

  1. Install MacSvn Subversion
  2. Register and Install Xcode (free account required) v2.4.1
  3. Build Gtk+ Mac OS X Directions and Build Script
  4. Download PythonCAD and install per Linux installation

installation.txt · Last modified: 2012/07/09 23:03 by relue