Skip to content

Instantly share code, notes, and snippets.

@nickgravish
Last active April 21, 2016 22:31
Show Gist options
  • Save nickgravish/ac80094999d11a5898ef716d51db1282 to your computer and use it in GitHub Desktop.
Save nickgravish/ac80094999d11a5898ef716d51db1282 to your computer and use it in GitHub Desktop.
popupcad install on a mac

How to setup a python environment for running bleeding edge popupcad

Here are the steps to run the development version of popupcad on a Mac OSX (Yosemite).

Install commands to be copy and pasted into the command line

yes | conda create -n popupcad_env python=3.4
source activate popupcad_env
yes | conda install numpy scipy matplotlib 
yes | conda install shapely pyopengl sympy scipy pyyaml lxml
yes | conda remove pyqt qt
yes | pip install pyqtgraph pycollada
yes | pip install -i https://pypi.anaconda.org/pypi/simple pyside

yes | pip install ezdxf numpy-stl pypoly2tri
yes | conda install jupyter seaborn

Notes

Was getting this error

ImportError: dlopen(/Users/nickgravish/anaconda/envs/popupcad_env/lib/python3.4/site-packages/PySide/QtCore.so, 2): 
Library not loaded: libpyside.cpython-34m.1.2.dylib

Realized that the pip install of pyside was not running the post_install script. Needs to be run manually to connect up all the links correctly. https://github.com/PySide/packaging/blob/master/setuptools/templates/pyside_postinstall.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment