Code Interpreter Python Packages: List of packages available in the environment

After a few false starts due to packages being unavailable for what I was trying to do, I wanted to take a look at which Python packages were available in the ChatGPT Code Interpreter environment.

Below are some highlights. You can find the complete list here.

  • Data Analysis and Visualization: Analyze and visualize your data offline using packages like pandas, numpy, scipy, xarray, matplotlib, seaborn, plotly, and bokeh.
  • Natural Language Processing and Machine Learning: Dive into text data with nltk, spacy, textblob, and gensim, or build machine learning models with scikit-learn, xgboost, keras, and torch.
  • Image and Audio Processing: Manipulate and analyze images and audio with pillow, imageio, opencv-python, scikit-image, librosa, pyaudio, and soundfile.
  • File Format Manipulation and Web Development: Handle various file formats with openpyxl, xlrd, pyPDF2, python-docx, or build web applications with flask, django, tornado, and quart.

Image made with Code Interpreter using the WordCloud library.


Is there a roadmap to which libraries will be added in the future? Personally I could use linearmodels. Although I understand many people will have different needs and requests.

Unfortunately, some of the packages don’t work because they need to download additional data and it has no internet access. It tried to use SpaCy and NLTK, for instance.

1 Like

Great sharing i have already created website for this with category.
Check website here:

Code Interpreter Packages Wesbite