From ce20f2b169051c7ae015cb28d2685456e9582aa8 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 8 Aug 2024 13:13:52 -0300 Subject: [PATCH] pip install -> python -m pip install --- aider/website/docs/faq.md | 2 +- aider/website/docs/install/pipx.md | 2 +- aider/website/docs/llms/anthropic.md | 2 +- aider/website/docs/llms/azure.md | 2 +- aider/website/docs/llms/cohere.md | 2 +- aider/website/docs/llms/deepseek.md | 2 +- aider/website/docs/llms/gemini.md | 2 +- aider/website/docs/llms/groq.md | 2 +- aider/website/docs/llms/ollama.md | 2 +- aider/website/docs/llms/openai-compat.md | 2 +- aider/website/docs/llms/openai.md | 2 +- aider/website/docs/llms/openrouter.md | 4 ++-- aider/website/docs/usage/browser.md | 2 +- 13 files changed, 14 insertions(+), 14 deletions(-) diff --git a/aider/website/docs/faq.md b/aider/website/docs/faq.md index 6963b95d9..ac62e8bc0 100644 --- a/aider/website/docs/faq.md +++ b/aider/website/docs/faq.md @@ -73,7 +73,7 @@ cd aider # It's recommended to make a virtual environment # Install the dependencies listed in the `requirements.txt` file: -pip install -e . +python -m pip install -e . # Run the local version of Aider: python -m aider diff --git a/aider/website/docs/install/pipx.md b/aider/website/docs/install/pipx.md index 105e9b00a..a507e3eb9 100644 --- a/aider/website/docs/install/pipx.md +++ b/aider/website/docs/install/pipx.md @@ -8,7 +8,7 @@ nav_order: 100 If you are using aider to work on a python project, sometimes your project will require specific versions of python packages which conflict with the versions that aider requires. -If this happens, the `pip install` command may return errors like these: +If this happens, the `python -m pip install` command may return errors like these: ``` aider-chat 0.23.0 requires somepackage==X.Y.Z, but you have somepackage U.W.V which is incompatible. diff --git a/aider/website/docs/llms/anthropic.md b/aider/website/docs/llms/anthropic.md index 7407cb3c6..d165f9dce 100644 --- a/aider/website/docs/llms/anthropic.md +++ b/aider/website/docs/llms/anthropic.md @@ -14,7 +14,7 @@ Aider has some built in shortcuts for the most popular Anthropic models and has been tested and benchmarked to work well with them: ``` -pip install aider-chat +python -m pip install aider-chat export ANTHROPIC_API_KEY= # Mac/Linux setx ANTHROPIC_API_KEY # Windows, restart shell after setx diff --git a/aider/website/docs/llms/azure.md b/aider/website/docs/llms/azure.md index b0018c0bd..3b58fce7a 100644 --- a/aider/website/docs/llms/azure.md +++ b/aider/website/docs/llms/azure.md @@ -8,7 +8,7 @@ nav_order: 500 Aider can connect to the OpenAI models on Azure. ``` -pip install aider-chat +python -m pip install aider-chat # Mac/Linux: export AZURE_API_KEY= diff --git a/aider/website/docs/llms/cohere.md b/aider/website/docs/llms/cohere.md index 6a743bc47..c9575a8d3 100644 --- a/aider/website/docs/llms/cohere.md +++ b/aider/website/docs/llms/cohere.md @@ -13,7 +13,7 @@ You'll need a [Cohere API key](https://dashboard.cohere.com/welcome/login). To use **Command-R+**: ``` -pip install aider-chat +python -m pip install aider-chat export COHERE_API_KEY= # Mac/Linux setx COHERE_API_KEY # Windows, restart shell after setx diff --git a/aider/website/docs/llms/deepseek.md b/aider/website/docs/llms/deepseek.md index 7333b7ec4..df1e3b465 100644 --- a/aider/website/docs/llms/deepseek.md +++ b/aider/website/docs/llms/deepseek.md @@ -9,7 +9,7 @@ Aider can connect to the DeepSeek.com API. The DeepSeek Coder V2 model gets the top score on aider's code editing benchmark. ``` -pip install aider-chat +python -m pip install aider-chat export DEEPSEEK_API_KEY= # Mac/Linux setx DEEPSEEK_API_KEY # Windows, restart shell after setx diff --git a/aider/website/docs/llms/gemini.md b/aider/website/docs/llms/gemini.md index 6123faa34..7c8c8e7ad 100644 --- a/aider/website/docs/llms/gemini.md +++ b/aider/website/docs/llms/gemini.md @@ -12,7 +12,7 @@ with code editing capability that's comparable to GPT-3.5. You'll need a [Gemini API key](https://aistudio.google.com/app/u/2/apikey). ``` -pip install aider-chat +python -m pip install aider-chat export GEMINI_API_KEY= # Mac/Linux setx GEMINI_API_KEY # Windows, restart shell after setx diff --git a/aider/website/docs/llms/groq.md b/aider/website/docs/llms/groq.md index dbb5f6760..3872e6d7c 100644 --- a/aider/website/docs/llms/groq.md +++ b/aider/website/docs/llms/groq.md @@ -13,7 +13,7 @@ You'll need a [Groq API key](https://console.groq.com/keys). To use **Llama3 70B**: ``` -pip install aider-chat +python -m pip install aider-chat export GROQ_API_KEY= # Mac/Linux setx GROQ_API_KEY # Windows, restart shell after setx diff --git a/aider/website/docs/llms/ollama.md b/aider/website/docs/llms/ollama.md index e537c1b62..5914fd405 100644 --- a/aider/website/docs/llms/ollama.md +++ b/aider/website/docs/llms/ollama.md @@ -15,7 +15,7 @@ ollama pull ollama serve # In another terminal window... -pip install aider-chat +python -m pip install aider-chat export OLLAMA_API_BASE=http://127.0.0.1:11434 # Mac/Linux setx OLLAMA_API_BASE http://127.0.0.1:11434 # Windows, restart shell after setx diff --git a/aider/website/docs/llms/openai-compat.md b/aider/website/docs/llms/openai-compat.md index e51243c1b..74e037960 100644 --- a/aider/website/docs/llms/openai-compat.md +++ b/aider/website/docs/llms/openai-compat.md @@ -8,7 +8,7 @@ nav_order: 500 Aider can connect to any LLM which is accessible via an OpenAI compatible API endpoint. ``` -pip install aider-chat +python -m pip install aider-chat # Mac/Linux: export OPENAI_API_BASE= diff --git a/aider/website/docs/llms/openai.md b/aider/website/docs/llms/openai.md index 4c2539456..e3c3e1d87 100644 --- a/aider/website/docs/llms/openai.md +++ b/aider/website/docs/llms/openai.md @@ -14,7 +14,7 @@ Aider has some built in shortcuts for the most popular OpenAI models and has been tested and benchmarked to work well with them: ``` -pip install aider-chat +python -m pip install aider-chat export OPENAI_API_KEY= # Mac/Linux setx OPENAI_API_KEY # Windows, restart shell after setx diff --git a/aider/website/docs/llms/openrouter.md b/aider/website/docs/llms/openrouter.md index c2335bf46..7467ff38b 100644 --- a/aider/website/docs/llms/openrouter.md +++ b/aider/website/docs/llms/openrouter.md @@ -9,7 +9,7 @@ Aider can connect to [models provided by OpenRouter](https://openrouter.ai/model You'll need an [OpenRouter API key](https://openrouter.ai/keys). ``` -pip install aider-chat +python -m pip install aider-chat export OPENROUTER_API_KEY= # Mac/Linux setx OPENROUTER_API_KEY # Windows, restart shell after setx @@ -24,7 +24,7 @@ aider --models openrouter/ In particular, Llama3 70B works well with aider, at low cost: ``` -pip install aider-chat +python -m pip install aider-chat export OPENROUTER_API_KEY= # Mac/Linux setx OPENROUTER_API_KEY # Windows, restart shell after setx diff --git a/aider/website/docs/usage/browser.md b/aider/website/docs/usage/browser.md index e65737d0a..1a4494c2a 100644 --- a/aider/website/docs/usage/browser.md +++ b/aider/website/docs/usage/browser.md @@ -48,7 +48,7 @@ It also supports [connecting to almost any LLM](https://aider.chat/docs/llms.htm Use the `--browser` switch to launch the browser version of aider: ``` -pip install aider-chat +python -m pip install aider-chat export OPENAI_API_KEY= # Mac/Linux setx OPENAI_API_KEY # Windows, restart shell after setx