Clone wiki

dxfstructure / installing

| up | | Home page |


DxfStructure requirements

To run DxfStructure the following Python environment must be installed

Python 2.7

Non-standard Python packages

Required dependencies

dxfstructure (https://pypi.python.org/pypi/dxfstructure)

strupy (https://pypi.python.org/pypi/strupy)

unum (https://pypi.org/project/Unum)

ezdxf (https://pypi.python.org/pypi/ezdxf)

pyqt4 (https://www.riverbankcomputing.com/software/pyqt)

tabulate (https://pypi.python.org/pypi/tabulate)

mistune (https://pypi.python.org/pypi/mistune)


Installing

There are different ways to create required Python environment.

Installing process with Conda management system

1.Download and install Miniconda (http://conda.pydata.org/miniconda.html) - choose Python 2.7

2.Run system command line (Windows command prompt or Linux terminal)

3.First make sure we have the current conda package by typing

conda upgrade conda

4.Install packages from Conda repository by typing

conda install pip pyqt=4.11

(above pyqt version need to be specified since conda default is pyqt5)

5.Install packages from PIPy repository by typing

pip install --upgrade strupy unum ezdxf tabulate mistune

pip install ezdxf==0.8.8

6.Clean after installation by typing

conda clean -t -p

Required Python environment has been created

7.To run DxfStructure, execute the file DxfStructure.py from ..\Miniconda\Lib\site-packages\dxfstructure. Before you try double-clicking the DxfStructure.py file, you must change the "Open with" in the file properties - set the python.exe from ..\Miniconda directory as default. For easy run make shortcut on your system pulpit to DxfStructure.py file.


DxfStructure upgrade

If new version of DxfStructure package available upgrade it by typing

pip install --upgrade dxfstructure

You can see actually Conda environment package list by typing

conda list

OS compatibility

Windows and Linux (xubuntu, fedora) tested.


Other information

Please note that you don't have to use pip to install DxfStructure package. If needed python environment exist you can also download DxfStructure package (from pip or bitbucket) to any directory on your computer and then run DxfStructure.py from there.



| up | | Home page |

Updated