Skip to content

Instantly share code, notes, and snippets.

@gitcrtn
Created October 31, 2020 00:48
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 gitcrtn/8652f584437b8bf4ae0ade5b67a4f4e6 to your computer and use it in GitHub Desktop.
Save gitcrtn/8652f584437b8bf4ae0ade5b67a4f4e6 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# Required: Python 2.7, git
# prepare venv
python2 -m pip install virtualenv
python2 -m virtualenv venv
. venv/bin/activate
# prepare required modules
pip install cython==0.20 numpy==1.9.0
# install mceditlib
git clone https://github.com/mcedit/mcedit2.git
cd mcedit2
python setup_mceditlib.py install
cd ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment