Install a new Python package for result evaluation [python] in Custom JavaScript Problem

hi, i have my own custom javaScript problem component, i am getting data back from javascript into my python for result evaluation. here i intend to store student/learner data in a separate database as well. i need to call python library ‘Requests’ here, but i am unable to import that and its not letting me install this library.
its about something called CodeJail.

  1. It would be better if i could access the virtual environment of my openEdx platform there i could install it manually to be able to use this in my code.

  2. or if somehow i could just disable CodeJail for my testing ?

anyone knows something about this ? would be much helpful.

thanks a million !

i was able to do it, here’s how:
login to my edx server.
code_jail is enabled:
navigate to the path of in-use virtual-env. i.e:)
/edx/app/edxapp/venvs/edxapp-sandbox/bin/pip install New_Package_name
To disable code_jail:
cd /edx/app/edxapp/edx-platform/common/lib/capa/capa/safe_exec/
simply set unsafely to True