You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Log space for staff removal using gamera; thank you Lucas for your earlier help. Other details on progress in this can be found here hsnr-gamera/gamera-4#72 . Per last recommendation in other thread, trying recommendations, then worst case trying the Ubuntu attempt.
The text was updated successfully, but these errors were encountered:
installation fix in the png_support.py file to add the specific libpng path worked, proceeding to trying to get the wrapper fix going.
#
# wrapper script for running gamera_gui
# from virtualenv with homebrew python
#
source /usr/local/lib/py2gamera/bin/activate
WXPYTHON_APP="gamera_gui"
PYVER="$(python --version 2>&1 | cut -d ' ' -f 2 | cut -d '.' -f 1,2)"
if [ -z "$VIRTUAL_ENV" ] ; then
echo "You must activate your virtualenv: set '$VIRTUAL_ENV'"
exit 1
fi
SYSTEM_FRAMEWORK_PYTHON_ROOT="/System$SYSTEM_FRAMEWORK_PYTHON_ROOT"
PYSUBVER="$(python --version 2>&1 | cut -d ' ' -f2)" # e.g., 2.7.10
BREW_PYTHON_ROOT="`ls -d $(brew --prefix)/Cellar/python@2/$PYSUBVER*`"
BREW_PYTHON_ROOT="$BREW_PYTHON_ROOT/Frameworks/Python.framework/Versions/$PYVER"
PYTHON_BINARY="bin/python$PYVER"
FRAMEWORK_PYTHON="$BREW_PYTHON_ROOT/$PYTHON_BINARY"
VENV_SITE_PACKAGES="$VIRTUAL_ENV/lib/python$PYVER/site-packages"
# Ensure wx.pth is set up in the virtualenv
# (does not seem to be necessary, so we comment it out)
#test -e "$VENV_SITE_PACKAGES/wx.pth" || \
# cp "/Library/Python/$PYVER/site-packages/wxredirect.pth" "$VENV_SITE_PACKAGES/wx.pth"
# Use the Framework Python to run the app
export PYTHONHOME=$VIRTUAL_ENV
exec "$FRAMEWORK_PYTHON" "$VIRTUAL_ENV/bin/$WXPYTHON_APP" $*
Log space for staff removal using gamera; thank you Lucas for your earlier help. Other details on progress in this can be found here hsnr-gamera/gamera-4#72 . Per last recommendation in other thread, trying recommendations, then worst case trying the Ubuntu attempt.
The text was updated successfully, but these errors were encountered: