Shaunwei / RealChar

🎙️🤖Create, Customize and Talk to your AI Character/Companion in Realtime (All in One Codebase!). Have a natural seamless conversation with AI everywhere (mobile, web and terminal) using LLM OpenAI GPT3.5/4, Anthropic Claude2, Chroma Vector DB, Whisper Speech2Text, ElevenLabs Text2Speech🎙️🤖
https://RealChar.ai/
MIT License
5.94k stars 727 forks source link

render deployment failed #485

Closed Eman-Te closed 10 months ago

Eman-Te commented 10 months ago

Hi, I failed to deploy using render, can you help me please? Oct 20 12:17:51 PM #10 6.913 Collecting pyaudio (from -r /realtime_ai_character/requirements.txt (line 24)) Oct 20 12:17:51 PM #10 6.925 Downloading PyAudio-0.2.13.tar.gz (46 kB) Oct 20 12:17:51 PM #10 6.932 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.8/46.8 kB 14.8 MB/s eta 0:00:00 Oct 20 12:17:51 PM #10 6.961 Installing build dependencies: started Oct 20 12:17:55 PM #10 10.42 Installing build dependencies: finished with status 'done' Oct 20 12:17:55 PM #10 10.42 Getting requirements to build wheel: started Oct 20 12:17:55 PM #10 10.67 Getting requirements to build wheel: finished with status 'error' Oct 20 12:17:55 PM #10 10.68 error: subprocess-exited-with-error Oct 20 12:17:55 PM #10 10.68 Oct 20 12:17:55 PM #10 10.68 × Getting requirements to build wheel did not run successfully. Oct 20 12:17:55 PM #10 10.68 │ exit code: 1 Oct 20 12:17:55 PM #10 10.68 ╰─> [33 lines of output] Oct 20 12:17:55 PM #10 10.68 Traceback (most recent call last): Oct 20 12:17:55 PM #10 10.68 File "/usr/local/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module> Oct 20 12:17:55 PM #10 10.68 main() Oct 20 12:17:55 PM #10 10.68 File "/usr/local/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main Oct 20 12:17:55 PM #10 10.68 json_out['return_val'] = hook(**hook_input['kwargs']) Oct 20 12:17:55 PM #10 10.68 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 20 12:17:55 PM #10 10.68 File "/usr/local/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 112, in get_requires_for_build_wheel Oct 20 12:17:55 PM #10 10.68 backend = _build_backend() Oct 20 12:17:55 PM #10 10.68 ^^^^^^^^^^^^^^^^ Oct 20 12:17:55 PM #10 10.68 File "/usr/local/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 77, in _build_backend Oct 20 12:17:55 PM #10 10.68 obj = import_module(mod_path) Oct 20 12:17:55 PM #10 10.68 ^^^^^^^^^^^^^^^^^^^^^^^ Oct 20 12:17:55 PM #10 10.68 File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module Oct 20 12:17:55 PM #10 10.68 return _bootstrap._gcd_import(name[level:], package, level) Oct 20 12:17:55 PM #10 10.68 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 20 12:17:55 PM #10 10.68 File "<frozen importlib._bootstrap>", line 1381, in _gcd_import Oct 20 12:17:55 PM #10 10.68 File "<frozen importlib._bootstrap>", line 1354, in _find_and_load Oct 20 12:17:55 PM #10 10.68 File "<frozen importlib._bootstrap>", line 1304, in _find_and_load_unlocked Oct 20 12:17:55 PM #10 10.68 File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed Oct 20 12:17:55 PM #10 10.68 File "<frozen importlib._bootstrap>", line 1381, in _gcd_import Oct 20 12:17:55 PM #10 10.68 File "<frozen importlib._bootstrap>", line 1354, in _find_and_load Oct 20 12:17:55 PM #10 10.68 File "<frozen importlib._bootstrap>", line 1325, in _find_and_load_unlocked Oct 20 12:17:55 PM #10 10.68 File "<frozen importlib._bootstrap>", line 929, in _load_unlocked Oct 20 12:17:55 PM #10 10.68 File "<frozen importlib._bootstrap_external>", line 994, in exec_module Oct 20 12:17:55 PM #10 10.68 File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed Oct 20 12:17:55 PM #10 10.68 File "/tmp/pip-build-env-rt314vks/overlay/lib/python3.12/site-packages/setuptools/__init__.py", line 16, in <module> Oct 20 12:17:55 PM #10 10.68 import setuptools.version Oct 20 12:17:55 PM #10 10.68 File "/tmp/pip-build-env-rt314vks/overlay/lib/python3.12/site-packages/setuptools/version.py", line 1, in <module> Oct 20 12:17:55 PM #10 10.68 import pkg_resources Oct 20 12:17:55 PM #10 10.68 File "/tmp/pip-build-env-rt314vks/overlay/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2191, in <module> Oct 20 12:17:55 PM #10 10.68 register_finder(pkgutil.ImpImporter, find_on_path) Oct 20 12:17:55 PM #10 10.68 ^^^^^^^^^^^^^^^^^^^ Oct 20 12:17:55 PM #10 10.68 AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'? Oct 20 12:17:55 PM #10 10.68 [end of output] Oct 20 12:17:55 PM #10 10.68 Oct 20 12:17:55 PM #10 10.68 note: This error originates from a subprocess, and is likely not a problem with pip. Oct 20 12:17:55 PM #10 10.69 error: subprocess-exited-with-error Oct 20 12:17:55 PM #10 10.69 Oct 20 12:17:55 PM #10 10.69 × Getting requirements to build wheel did not run successfully. Oct 20 12:17:55 PM #10 10.69 │ exit code: 1 Oct 20 12:17:55 PM #10 10.69 ╰─> See above for output. Oct 20 12:17:55 PM #10 10.69 Oct 20 12:17:55 PM #10 10.69 note: This error originates from a subprocess, and is likely not a problem with pip. Oct 20 12:17:55 PM #10 10.72 Oct 20 12:17:55 PM #10 10.72 [notice] A new release of pip is available: 23.2.1 -> 23.3 Oct 20 12:17:55 PM #10 10.72 [notice] To update, run: pip install --upgrade pip Oct 20 12:17:55 PM #10 ERROR: process "/bin/sh -c pip install -r /realtime_ai_character/requirements.txt" did not complete successfully: exit code: 1 Oct 20 12:17:55 PM ------ Oct 20 12:17:55 PM > [5/7] RUN pip install -r /realtime_ai_character/requirements.txt: Oct 20 12:17:55 PM #10 10.69 error: subprocess-exited-with-error Oct 20 12:17:55 PM #10 10.69 Oct 20 12:17:55 PM #10 10.69 × Getting requirements to build wheel did not run successfully. Oct 20 12:17:55 PM #10 10.69 │ exit code: 1 Oct 20 12:17:55 PM #10 10.69 ╰─> See above for output. Oct 20 12:17:55 PM #10 10.69 Oct 20 12:17:55 PM #10 10.69 note: This error originates from a subprocess, and is likely not a problem with pip. Oct 20 12:17:55 PM #10 10.72 Oct 20 12:17:55 PM #10 10.72 [notice] A new release of pip is available: 23.2.1 -> 23.3 Oct 20 12:17:55 PM #10 10.72 [notice] To update, run: pip install --upgrade pip Oct 20 12:17:55 PM ------ Oct 20 12:17:55 PM Dockerfile:10 Oct 20 12:17:55 PM -------------------- Oct 20 12:17:55 PM 8 | # Install Python dependencies Oct 20 12:17:55 PM 9 | COPY requirements.txt /realtime_ai_character Oct 20 12:17:55 PM 10 | >>> RUN pip install -r /realtime_ai_character/requirements.txt Oct 20 12:17:55 PM 11 | Oct 20 12:17:55 PM 12 | # Copy the project files Oct 20 12:17:55 PM -------------------- Oct 20 12:17:55 PM error: failed to solve: process "/bin/sh -c pip install -r /realtime_ai_character/requirements.txt" did not complete successfully: exit code: 1 Oct 20 12:17:55 PM error: exit status 1