Using tutor, how do I install a specific Python library?

I am writing an xblock that requires openai>1.2. I have modified my config.yml file to have OPENEDX_EXTRA_PIP_REQUIREMENTS and under that is:

  • openai

However, this seems to install an older version, like 0.28 or some such.

I tried to change it to:

  • openai>1.2

but this just caused my entire xblock to fail to load. Is there a way to force the install to use a given version of this library?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.