Skip to content

Instantly share code, notes, and snippets.

@florisvb
Last active April 11, 2018 19:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save florisvb/12f4dc1f6e8e51c5db5ede6321510278 to your computer and use it in GitHub Desktop.
Save florisvb/12f4dc1f6e8e51c5db5ede6321510278 to your computer and use it in GitHub Desktop.
Some handy commands for getting FigureFirst and Jupyter installed in a virtualenv

Install inkscape

sudo apt-get install inkscape

Download figurefirst:

git clone https://github.com/FlyRanch/figurefirst.git

Make a virtual environment

Include the system site packages (that way we don't have to install numpy, scipy, etc)
sudo apt-get install python-virtualenv
virtualenv FIG --system-site-packages
source FIG/bin/activate

Install figurefirst

python ./setup.py install

Install inkscape extensions

Copy the .inx and .py files from figurefirst/inkscape_extensions to the appropriate directory
cp * ~/.config/inkscape/extensions/

Install jupyter notebook in our virtual env

pip install --ignore-installed jupyter 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment