Find answers from the community

Updated 2 months ago

You can actually do a `pip install

You can actually do a pip install --upgrade -e . when you are inside the top-level after a clone, this will add the package to your env, but allow you to edit files and test the changes
K
L
5 comments
The top level being just the root gpt-index project folder?
So, I have my project GPT3Discord, inside the GPT3Discord folder, I'd clone gpt-index, then inside the gpt-index folder i'd run the pip command?
yea, like git clone <gpt_index_url> and then cd gpt_index and then pip install --upgrade -e .

I would do this outside of your GPT3Discord project folder
Once you do the pip install, it will be added to your env like a normal python package (but in "editable" mode, becasue of the -e option)
I hope that makes sense haha a little hard to explain
Add a reply
Sign up and join the conversation on Discord