仓库地址: https://github.com/agentscope-ai/CoPaw
官方简介:Your Personal AI Assistant; easy to install, deploy on your own machine or on the cloud; supports multiple chat apps with easily extensible capabilities.
安装过程
这里记录我的安装过程,因为坑太多了。
本来是用docker安装的,非常简单快捷;但是安装好以后发现在容器里面它的权限太低了,几乎啥也干不了,所以重新本地安装
1. pip install copaw
结果这条命令我都执行不了:- pip install copaw
- zsh: command not found: pip
复制代码 因为我本地的是pip3。但是也不行:- pip3 install copaw
- error: externally-managed-environment
- × This environment is externally managed
- ╰─> To install Python packages system-wide, try brew install
- xyz, where xyz is the package you are trying to
- install.
-
- If you wish to install a Python library that isn't in Homebrew,
- use a virtual environment:
-
- python3 -m venv path/to/venv
- source path/to/venv/bin/activate
- python3 -m pip install xyz
-
- If you wish to install a Python application that isn't in Homebrew,
- it may be easiest to use 'pipx install xyz', which will manage a
- virtual environment for you. You can install pipx with
-
- brew install pipx
-
- You may restore the old behavior of pip by passing
- the '--break-system-packages' flag to pip, or by adding
- 'break-system-packages = true' to your pip.conf file. The latter
- will permanently disable this error.
-
- If you disable this error, we STRONGLY recommend that you additionally
- pass the '--user' flag to pip, or set 'user = true' in your pip.conf
- file. Failure to do this can result in a broken Homebrew installation.
-
- Read more about this behavior here: <https://peps.python.org/pep-0668/>
- note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
- hint: See PEP 668 for the detailed specification.
复制代码 难道让我用brew安装?
结果- Warning: No available formula with the name "copaw". Did you mean copa or opa?
- ==> Searching for similarly named formulae and casks...
- ==> Formulae
- copa opa
复制代码 问了AI,让我用pipx:- brew install pipx
- pipx ensurepath
-
- Success! Added /Users/your/.local/bin to the PATH environment variable.
复制代码 然后重新安装,结果又报错:
[code]pipx install copawpip seemed to fail to build package: python-dotenv>=1.0.0Some possibly relevant errors from pip install: ERROR: Ignored the following versions that require a different python version: 0.0.2 Requires-Python >=3.10,=3.10,=3.10,=3.10,=3.10,=3.10,=3.10,=3.10,=3.10,=3.10,=3.6,=3.6,=3.6,=3.6, |