I was installing the pip against the wrong user. I figured this out after I gave up and started installing an xblock while I wait for an answer. In that documentation file, it described how to install xblock as pip as openedx user. That got me passed the above error.
I'm getting a different one:
Error Message: ValueError: invalid token in plural form: EXPRESSION
Error Full Stack:
File "/opt/bitnami/apps/edx/venvs/edxapp/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 131, in __init__
self._add_local_translations()
File "/opt/bitnami/apps/edx/venvs/edxapp/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 183, in _add_local_translations
translation = self._new_gnu_trans(localedir)
File "/opt/bitnami/apps/edx/venvs/edxapp/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 156, in _new_gnu_trans
fallback=use_null_fallback)
File "/opt/bitnami/python/lib/python2.7/gettext.py", line 554, in translation
t = _translations.setdefault(key, class_(fp))
File "/opt/bitnami/python/lib/python2.7/gettext.py", line 255, in __init__
self._parse(fp)
File "/opt/bitnami/python/lib/python2.7/gettext.py", line 391, in _parse
self.plural = c2py(plural)
File "/opt/bitnami/python/lib/python2.7/gettext.py", line 177, in c2py
result, nexttok = _parse(_tokenize(plural))
File "/opt/bitnami/python/lib/python2.7/gettext.py", line 114, in _parse
nexttok = next(tokens)
File "/opt/bitnami/python/lib/python2.7/gettext.py", line 91, in _tokenize
raise ValueError('invalid token in plural form: %s' % value)
ValueError: invalid token in plural form: EXPRESSION
Captured Task Output:
---------------------
---> pavelib.i18n.i18n_robot_pull
---> pavelib.i18n.i18n_clean
git clean -fdX conf/locale
---> pavelib.i18n.i18n_transifex_pull
---> pavelib.i18n.i18n_validate_transifex_config
i18n_tool transifex pull
---> pavelib.i18n.i18n_extract
---> pavelib.prereqs.install_prereqs
---> pavelib.i18n.i18n_validate_gettext
i18n_tool extract
---> pavelib.i18n.i18n_dummy
i18n_tool dummy
i18n_tool generate
python manage.py lms --settings=devstack compilejsi18n
Build failed running pavelib.i18n.i18n_robot_pull: Subprocess return code: 1