Kor*_*ich 5 python jupyter chat-gpt-4 code-interpreter
ChatGPT 是在类似 Jupyter 的环境中运行 Python 的最新平台。然而,安装的库是有限的。您也无法访问互联网。所以,我无法使用 pip 来安装。
如何安装新库?
Kor*_*ich 11
您可以上传从 PyPI 获取的轮文件,选择 cp38-manylinux_..._x86_64.whl 并上传。
告诉 ChatGPT 解压缩并将其移动到/home/sandbox/.local/lib/python3.8/site-packages/
然后就可以正常导入使用了。
这是我安装 DuckDB 的示例:https://chat.openai.com/share/fa3df390-8a25-45d3-997a-c19d4f19df67