ChatGPT is the newest platform for running Python in a Jupyter-like environment. However the installed libraries are limited. You cannot access the internet too. So, I cannot use pip to install.
How can I install a new library?
You can upload a wheel file taken from PyPI, select cp38-manylinux_..._x86_64.whl and upload it.
Tell ChatGPT to unzip and move it to /home/sandbox/.local/lib/python3.8/site-packages/
Then you can import and use it normally.
Here's an example case where I install DuckDB: https://chat.openai.com/share/fa3df390-8a25-45d3-997a-c19d4f19df67