I don't know if this is the best way to do it, but it worked.
# PYTHON_VERSION=$(python -c "import sys; print(str(sys.version_info.major) + '.'+ str(sys.version_info.minor))")
# export PYTHONPATH=$PYTHONPATH:"/antenv/lib/python$PYTHON_VERSION/site-packages"
This didn't work.
# source /antenv/bin/activate
Recommended Posts