Wiki

Clone wiki

struthon / installing

#Struthon requirements

To run Struthon the following Python environment must be installed

  • Python 2.7

  • Non-standard Python packages:

Minimal:

Struthon (https://pypi.python.org/pypi/struthon)

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

NumPy (http://www.numpy.org)

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

Matplotlib (http://matplotlib.org)

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

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

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

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

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

Extra packages to make SeePy available:

SeePy (https://pypi.python.org/pypi/seepy)

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

pillow (https://pillow.readthedocs.io)

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

Extra packages to make py4structure available:

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

Extra packages to make DxfStructure available:

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

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

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

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

Extra packages to make Tebe writer available:

tebe (https://pypi.org/project/tebe)

sphinx (http://www.sphinx-doc.org)

rst2pdf (https://pypi.org/project/rst2pdf)

docutils (https://pypi.org/project/decutils)

recommonmark (https://pypi.org/project/recommonmark)


#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 numpy pillow pyqt=4.11 matplotlib=1.4

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

5.Install packages from PIPy repository by typing

pip install struthon strupy unum xlrd dxfwrite easygui pyautocad seepy mistune svgwrite py4structure dxfstructure ezdxf tabulate tebe sphinx rst2pdf docutils recommonmark

6.Clean after installation by typing

conda clean -t -p

Required Python environment has been created

7.To run Struthon main panel user interface, execute the file struthon.py from ..\Miniconda\Lib\site-packages\struthon. Before you try double-clicking the struthon.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 struthon.py file.

If new version of struthon, strupy, seepy, py4structure, dxfstructure or tebe package available upgrade them by typing

pip install --upgrade strupy struthon seepy py4structure dxfstructure tebe

You can see actually Conda environment package list by typing

conda list

##OS compatibility Windows and Linux tested.


| up | | Home page |

Updated