circlestarzero / EX-chatGPT

Let ChatGPT truly learn how to go online and call APIs! 'EX-ChatGPT' can rival and even surpass NewBing
MIT License
2.01k stars 331 forks source link

可以麻烦作者发布一个docker image 吗? 我无法在服务器复现 #52

Open JinhuW opened 1 year ago

JinhuW commented 1 year ago

错误原因: `Building wheel for tiktoken (pyproject.toml): started

8 14.32 Building wheel for tiktoken (pyproject.toml): finished with status 'error'

8 14.32 error: subprocess-exited-with-error

8 14.32

8 14.32 × Building wheel for tiktoken (pyproject.toml) did not run successfully.

8 14.32 │ exit code: 1

8 14.32 ╰─> [37 lines of output]

8 14.32 running bdist_wheel

8 14.32 running build

8 14.32 running build_py

8 14.32 creating build

8 14.32 creating build/lib.linux-aarch64-cpython-311

8 14.32 creating build/lib.linux-aarch64-cpython-311/tiktoken

8 14.32 copying tiktoken/core.py -> build/lib.linux-aarch64-cpython-311/tiktoken

8 14.32 copying tiktoken/init.py -> build/lib.linux-aarch64-cpython-311/tiktoken

8 14.32 copying tiktoken/model.py -> build/lib.linux-aarch64-cpython-311/tiktoken

8 14.32 copying tiktoken/registry.py -> build/lib.linux-aarch64-cpython-311/tiktoken

8 14.32 copying tiktoken/load.py -> build/lib.linux-aarch64-cpython-311/tiktoken

8 14.32 creating build/lib.linux-aarch64-cpython-311/tiktoken_ext

8 14.32 copying tiktoken_ext/openai_public.py -> build/lib.linux-aarch64-cpython-311/tiktoken_ext

8 14.32 running egg_info

8 14.32 writing tiktoken.egg-info/PKG-INFO

8 14.32 writing dependency_links to tiktoken.egg-info/dependency_links.txt

8 14.32 writing requirements to tiktoken.egg-info/requires.txt

8 14.32 writing top-level names to tiktoken.egg-info/top_level.txt

8 14.32 reading manifest file 'tiktoken.egg-info/SOURCES.txt'

8 14.32 reading manifest template 'MANIFEST.in'

8 14.32 warning: no files found matching 'Makefile'

8 14.32 adding license file 'LICENSE'

8 14.32 writing manifest file 'tiktoken.egg-info/SOURCES.txt'

8 14.32 copying tiktoken/py.typed -> build/lib.linux-aarch64-cpython-311/tiktoken

8 14.32 running build_ext

8 14.32 running build_rust

8 14.32 error: can't find Rust compiler

8 14.32

8 14.32 If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.

8 14.32

8 14.32 To update pip, run:

8 14.32

8 14.32 pip install --upgrade pip

8 14.32

8 14.32 and then retry package installation.

8 14.32

8 14.32 If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.

8 14.32 [end of output]

8 14.32

8 14.32 note: This error originates from a subprocess, and is likely not a problem with pip.

8 14.32 ERROR: Failed building wheel for tiktoken

8 14.32 Building wheel for jieba (setup.py): started

8 15.79 Building wheel for jieba (setup.py): finished with status 'done'

8 15.80 Created wheel for jieba: filename=jieba-0.42.1-py3-none-any.whl size=19314458 sha256=ae26fd1eb2cce103bb6db861d567811f9ad88e5243f27ae349150607c9f8183c

8 15.80 Stored in directory: /tmp/pip-ephem-wheel-cache-wrid_ysw/wheels/9e/e1/e6/a79f6806b13624bde86455ca13b7ea62f5ab0cd789ba1e8535

8 15.80 Successfully built regex jieba

8 15.80 Failed to build tiktoken

8 15.80 ERROR: Could not build wheels for tiktoken, which is required to install pyproject.toml-based projects

8 15.88

8 15.88 [notice] A new release of pip available: 22.3.1 -> 23.0.1

8 15.88 [notice] To update, run: pip install --upgrade pip`

onlyLTY commented 1 year ago

docker有提供的啊。https://hub.docker.com/r/0nlylty/exchatgpt 容器会在启动的时候自动同步最新的代码