Skip to content

Instantly share code, notes, and snippets.

@fedemengo
Created February 17, 2021 10:46
Show Gist options
  • Save fedemengo/45b98d44e42d4fe5878b08c72b63965a to your computer and use it in GitHub Desktop.
Save fedemengo/45b98d44e42d4fe5878b08c72b63965a to your computer and use it in GitHub Desktop.
PYTHON=python3.7
ENV=env3.7
WDIR="/my/folder/whatever"
cd "$WDIR"
virtualenv --python=$(which "$PYTHON") "$ENV"
cd $MATLAB/MatLab/extern/engines/python
"$PYTHON" setup.py install --prefix="$WDIR/$ENV"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment