huang1332 / finetune_dataset_maker

为ChatGLM设计的微调数据集生成工具,速来制作自己的猫娘。
MIT License
589 stars 71 forks source link

请问环境安装在哪个位置,我需要安装旧版本的openai #11

Open hOVOzw opened 6 months ago

hOVOzw commented 6 months ago

请问环境安装在哪个位置,我需要安装旧版本的openai

brian95827 commented 6 months ago

没用过这个项目,只读了一下readme,偶然看到这个问题,仅供参考。


根据readme文档,需要pip安装openai和最新版的streamlit,环境安装可以运行以下命令(如果没有配置虚拟环境,在什么目录位置运行命令效果都一样):

pip install streamlit 旧版本: pip install openai==0.28.0 最新版本: pip install openai


如果你想用虚拟环境的话可以考虑conda或者python venv。 如果不知道什么是虚拟环境,就不用考虑,在任意位置运行两个命令就行。