pip install openai AttributeError: module ‘pexpect‘ has no attribute ‘TIMEOUT‘(in jupyter )
使用如下代码安装opanai模块报错pipinstallopenai改为以下代码即可:importpipliteawaitpiplite.install('openai')importopenaiasopenaiAttributeError:module'pexpect'hasnoattribute'TIMEOUT'whileinstallinginJuypternotebook·Issue#72