Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install issue on mac #15

Open
Bigsy opened this issue Nov 16, 2024 · 3 comments
Open

Install issue on mac #15

Bigsy opened this issue Nov 16, 2024 · 3 comments

Comments

@Bigsy
Copy link

Bigsy commented Nov 16, 2024

As the extension appears hardcoded to python (mine is python3) on mac I created a venv with aider-chat and flask in. I can move to that dir and aider runs fine from the terminal.

In the extension I have pointed it to the bin folder in that venv which has python in but the extension reports from the following uncaught error: aider-chat service exited with code 2 and signal null

@lee88688
Copy link
Owner

In the aider composer output at vscode you can find the start comamnd. And you can use it in your terminal to have a try.
Since I don't have mac so I may not debug this locally.

@zhengying
Copy link

zhengying commented Jan 8, 2025

I have same problem.
here is log:

2025-01-08 18:26:47.143 [info] Extension "aider-composer" is now active!
2025-01-08 18:26:47.143 [info] Starting aider-chat service...
2025-01-08 18:26:47.143 [warning] No workspace folders found, skip starting aider-chat service.
2025-01-08 18:27:07.661 [info] Extension "aider-composer" is now deactive!
2025-01-08 18:27:37.457 [info] Extension "aider-composer" is now active!
2025-01-08 18:27:37.457 [info] Starting aider-chat service...
2025-01-08 18:27:37.457 [info] aider-chat process args: /Users/zhengying/Documents/pyenv/env/bin/python -m flask -A /Users/zhengying/.vscode/extensions/lee2py.aider-composer-1.8.0/server/main.py run --port 15584
2025-01-08 18:27:40.162 [info] aider-chat: Traceback (most recent call last):
2025-01-08 18:27:40.162 [info] aider-chat: File "", line 198, in _run_module_as_main
2025-01-08 18:27:40.162 [info] aider-chat: File "", line 88, in _run_code
2025-01-08 18:27:40.162 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/flask/main.py", line 3, in
2025-01-08 18:27:40.162 [info] aider-chat: main()
2025-01-08 18:27:40.162 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/flask/cli.py", line 1129, in main
2025-01-08 18:27:40.163 [info] aider-chat: cli.main()
2025-01-08 18:27:40.163 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/click/core.py", line 1078, in main
2025-01-08 18:27:40.164 [info] aider-chat: rv = self.invoke(ctx)
2025-01-08 18:27:40.164 [info] aider-chat: ^^^^^^^^^^^^^^^^
2025-01-08 18:27:40.164 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
2025-01-08 18:27:40.165 [info] aider-chat: return _process_result(sub_ctx.command.invoke(sub_ctx))
2025-01-08 18:27:40.165 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:27:40.165 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
2025-01-08 18:27:40.165 [info] aider-chat: return ctx.invoke(self.callback, **ctx.params)
2025-01-08 18:27:40.165 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:27:40.165 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/click/core.py", line 783, in invoke
2025-01-08 18:27:40.165 [info] aider-chat: return __callback(*args, **kwargs)
2025-01-08 18:27:40.166 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:27:40.166 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/click/decorators.py", line 92, in new_func
2025-01-08 18:27:40.166 [info] aider-chat: return ctx.invoke(f, obj, *args, **kwargs)
2025-01-08 18:27:40.166 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:27:40.166 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/click/core.py", line 783, in invoke
2025-01-08 18:27:40.166 [info] aider-chat: return __callback(*args, **kwargs)
2025-01-08 18:27:40.166 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:27:40.166 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/flask/cli.py", line 977, in run_command
2025-01-08 18:27:40.167 [info] aider-chat: raise e from None
2025-01-08 18:27:40.167 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/flask/cli.py", line 961, in run_command
2025-01-08 18:27:40.167 [info] aider-chat: app: WSGIApplication = info.load_app() # pyright: ignore
2025-01-08 18:27:40.167 [info] aider-chat: ^^^^^^^^^^^^^^^
2025-01-08 18:27:40.167 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/flask/cli.py", line 349, in load_app
2025-01-08 18:27:40.167 [info] aider-chat: app = locate_app(import_name, name)
2025-01-08 18:27:40.167 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:27:40.167 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/flask/cli.py", line 245, in locate_app
2025-01-08 18:27:40.167 [info] aider-chat: import(module_name)
2025-01-08 18:27:40.167 [info] aider-chat: File "/Users/zhengying/.vscode/extensions/lee2py.aider-composer-1.8.0/server/main.py", line 294, in
2025-01-08 18:27:40.168 [info] aider-chat: manager = ChatSessionManager()
2025-01-08 18:27:40.168 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:27:40.168 [info] aider-chat: File "/Users/zhengying/.vscode/extensions/lee2py.aider-composer-1.8.0/server/main.py", line 142, in init
2025-01-08 18:27:40.170 [info] aider-chat: model = Model('gpt-4o')
2025-01-08 18:27:40.170 [info] aider-chat: ^^^^^^^^^^^^^^^
2025-01-08 18:27:40.170 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/aider/models.py", line 918, in init
2025-01-08 18:27:40.171 [info] aider-chat: res = self.validate_environment()
2025-01-08 18:27:40.171 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:27:40.171 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/aider/models.py", line 1165, in validate_environment
2025-01-08 18:27:40.171 [info] aider-chat: res = litellm.validate_environment(model)
2025-01-08 18:27:40.171 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:27:40.171 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/aider/llm.py", line 25, in getattr
2025-01-08 18:27:40.172 [info] aider-chat: self._load_litellm()
2025-01-08 18:27:40.172 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/aider/llm.py", line 35, in _load_litellm
2025-01-08 18:27:40.172 [info] aider-chat: self._lazy_module = importlib.import_module("litellm")
2025-01-08 18:27:40.172 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:27:40.172 [info] aider-chat: File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/init.py", line 126, in import_module
2025-01-08 18:27:40.173 [info] aider-chat: return _bootstrap._gcd_import(name[level:], package, level)
2025-01-08 18:27:40.173 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:27:40.173 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/litellm/init.py", line 303, in
2025-01-08 18:27:40.173 [info] aider-chat: module_level_aclient = AsyncHTTPHandler(
2025-01-08 18:27:40.173 [info] aider-chat: ^^^^^^^^^^^^^^^^^
2025-01-08 18:27:40.173 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/litellm/llms/custom_httpx/http_handler.py", line 98, in init
2025-01-08 18:27:40.174 [info] aider-chat: self.client = self.create_client(
2025-01-08 18:27:40.174 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^
2025-01-08 18:27:40.174 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/litellm/llms/custom_httpx/http_handler.py", line 122, in create_client
2025-01-08 18:27:40.174 [info] aider-chat: return httpx.AsyncClient(
2025-01-08 18:27:40.174 [info] aider-chat: ^^^^^^^^^^^^^^^^^^
2025-01-08 18:27:40.174 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/httpx/_client.py", line 1442, in init
2025-01-08 18:27:40.175 [info] aider-chat: self._transport = self._init_transport(
2025-01-08 18:27:40.175 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:27:40.175 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/httpx/_client.py", line 1490, in _init_transport
2025-01-08 18:27:40.175 [info] aider-chat: return AsyncHTTPTransport(
2025-01-08 18:27:40.175 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^
2025-01-08 18:27:40.175 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/httpx/_transports/default.py", line 280, in init
2025-01-08 18:27:40.176 [info] aider-chat: ssl_context = create_ssl_context(verify=verify, cert=cert, trust_env=trust_env)
2025-01-08 18:27:40.176 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:27:40.176 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/httpx/_config.py", line 55, in create_ssl_context
2025-01-08 18:27:40.177 [info] aider-chat: return SSLConfig(
2025-01-08 18:27:40.177 [info] aider-chat: ^^^^^^^^^^
2025-01-08 18:27:40.177 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/httpx/_config.py", line 79, in init
2025-01-08 18:27:40.177 [info] aider-chat: self.ssl_context = self.load_ssl_context()
2025-01-08 18:27:40.177 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:27:40.177 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/httpx/_config.py", line 91, in load_ssl_context
2025-01-08 18:27:40.177 [info] aider-chat: return self.load_ssl_context_verify()
2025-01-08 18:27:40.177 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:27:40.177 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/httpx/_config.py", line 123, in load_ssl_context_verify
2025-01-08 18:27:40.177 [info] aider-chat: raise IOError(
2025-01-08 18:27:40.177 [info] aider-chat: OSError: Could not find a suitable TLS CA certificate bundle, invalid path: false
2025-01-08 18:27:40.473 [error] aider-chat service exited with code 1 and signal null
2025-01-08 18:27:40.473 [error] aider-chat service closed
2025-01-08 18:30:36.649 [info] Extension "aider-composer" is now deactive!
2025-01-08 18:31:00.555 [info] Extension "aider-composer" is now active!
2025-01-08 18:31:00.555 [info] Starting aider-chat service...
2025-01-08 18:31:00.555 [info] aider-chat process args: /Users/zhengying/Documents/pyenv/env/bin/python -m flask -A /Users/zhengying/.vscode/extensions/lee2py.aider-composer-1.8.0/server/main.py run --port 17122
2025-01-08 18:31:03.275 [info] aider-chat: Traceback (most recent call last):
2025-01-08 18:31:03.275 [info] aider-chat: File "", line 198, in _run_module_as_main
2025-01-08 18:31:03.275 [info] aider-chat: File "", line 88, in _run_code
2025-01-08 18:31:03.275 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/flask/main.py", line 3, in
2025-01-08 18:31:03.275 [info] aider-chat: main()
2025-01-08 18:31:03.275 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/flask/cli.py", line 1129, in main
2025-01-08 18:31:03.275 [info] aider-chat: cli.main()
2025-01-08 18:31:03.275 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/click/core.py", line 1078, in main
2025-01-08 18:31:03.276 [info] aider-chat: rv = self.invoke(ctx)
2025-01-08 18:31:03.276 [info] aider-chat: ^^^^^^^^^^^^^^^^
2025-01-08 18:31:03.276 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
2025-01-08 18:31:03.276 [info] aider-chat: return _process_result(sub_ctx.command.invoke(sub_ctx))
2025-01-08 18:31:03.276 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:31:03.276 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
2025-01-08 18:31:03.276 [info] aider-chat: return ctx.invoke(self.callback, **ctx.params)
2025-01-08 18:31:03.276 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:31:03.277 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/click/core.py", line 783, in invoke
2025-01-08 18:31:03.277 [info] aider-chat: return __callback(*args, **kwargs)
2025-01-08 18:31:03.277 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:31:03.278 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/click/decorators.py", line 92, in new_func
2025-01-08 18:31:03.279 [info] aider-chat: return ctx.invoke(f, obj, *args, **kwargs)
2025-01-08 18:31:03.279 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:31:03.279 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/click/core.py", line 783, in invoke
2025-01-08 18:31:03.279 [info] aider-chat: return __callback(*args, **kwargs)
2025-01-08 18:31:03.279 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:31:03.279 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/flask/cli.py", line 977, in run_command
2025-01-08 18:31:03.280 [info] aider-chat: raise e from None
2025-01-08 18:31:03.280 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/flask/cli.py", line 961, in run_command
2025-01-08 18:31:03.280 [info] aider-chat: app: WSGIApplication = info.load_app() # pyright: ignore
2025-01-08 18:31:03.280 [info] aider-chat: ^^^^^^^^^^^^^^^
2025-01-08 18:31:03.280 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/flask/cli.py", line 349, in load_app
2025-01-08 18:31:03.280 [info] aider-chat: app = locate_app(import_name, name)
2025-01-08 18:31:03.280 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:31:03.280 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/flask/cli.py", line 245, in locate_app
2025-01-08 18:31:03.281 [info] aider-chat: import(module_name)
2025-01-08 18:31:03.281 [info] aider-chat: File "/Users/zhengying/.vscode/extensions/lee2py.aider-composer-1.8.0/server/main.py", line 294, in
2025-01-08 18:31:03.281 [info] aider-chat: manager = ChatSessionManager()
2025-01-08 18:31:03.281 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:31:03.281 [info] aider-chat: File "/Users/zhengying/.vscode/extensions/lee2py.aider-composer-1.8.0/server/main.py", line 142, in init
2025-01-08 18:31:03.281 [info] aider-chat: model = Model('gpt-4o')
2025-01-08 18:31:03.281 [info] aider-chat: ^^^^^^^^^^^^^^^
2025-01-08 18:31:03.281 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/aider/models.py", line 918, in init
2025-01-08 18:31:03.282 [info] aider-chat: res = self.validate_environment()
2025-01-08 18:31:03.282 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:31:03.282 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/aider/models.py", line 1165, in validate_environment
2025-01-08 18:31:03.282 [info] aider-chat: res = litellm.validate_environment(model)
2025-01-08 18:31:03.282 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:31:03.282 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/aider/llm.py", line 25, in getattr
2025-01-08 18:31:03.282 [info] aider-chat: self._load_litellm()
2025-01-08 18:31:03.282 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/aider/llm.py", line 35, in _load_litellm
2025-01-08 18:31:03.282 [info] aider-chat: self._lazy_module = importlib.import_module("litellm")
2025-01-08 18:31:03.282 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:31:03.282 [info] aider-chat: File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/init.py", line 126, in import_module
2025-01-08 18:31:03.283 [info] aider-chat: return _bootstrap._gcd_import(name[level:], package, level)
2025-01-08 18:31:03.283 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:31:03.283 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/litellm/init.py", line 303, in
2025-01-08 18:31:03.283 [info] aider-chat: module_level_aclient = AsyncHTTPHandler(
2025-01-08 18:31:03.283 [info] aider-chat: ^^^^^^^^^^^^^^^^^
2025-01-08 18:31:03.283 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/litellm/llms/custom_httpx/http_handler.py", line 98, in init
2025-01-08 18:31:03.283 [info] aider-chat: self.client = self.create_client(
2025-01-08 18:31:03.283 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^
2025-01-08 18:31:03.283 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/litellm/llms/custom_httpx/http_handler.py", line 122, in create_client
2025-01-08 18:31:03.284 [info] aider-chat: return httpx.AsyncClient(
2025-01-08 18:31:03.284 [info] aider-chat: ^^^^^^^^^^^^^^^^^^
2025-01-08 18:31:03.284 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/httpx/_client.py", line 1442, in init
2025-01-08 18:31:03.284 [info] aider-chat: self._transport = self._init_transport(
2025-01-08 18:31:03.284 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:31:03.284 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/httpx/_client.py", line 1490, in _init_transport
2025-01-08 18:31:03.284 [info] aider-chat: return AsyncHTTPTransport(
2025-01-08 18:31:03.285 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^
2025-01-08 18:31:03.285 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/httpx/_transports/default.py", line 280, in init
2025-01-08 18:31:03.285 [info] aider-chat: ssl_context = create_ssl_context(verify=verify, cert=cert, trust_env=trust_env)
2025-01-08 18:31:03.285 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:31:03.285 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/httpx/_config.py", line 55, in create_ssl_context
2025-01-08 18:31:03.285 [info] aider-chat: return SSLConfig(
2025-01-08 18:31:03.285 [info] aider-chat: ^^^^^^^^^^
2025-01-08 18:31:03.285 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/httpx/_config.py", line 79, in init
2025-01-08 18:31:03.285 [info] aider-chat: self.ssl_context = self.load_ssl_context()
2025-01-08 18:31:03.286 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:31:03.286 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/httpx/_config.py", line 91, in load_ssl_context
2025-01-08 18:31:03.286 [info] aider-chat: return self.load_ssl_context_verify()
2025-01-08 18:31:03.286 [info] aider-chat: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-08 18:31:03.286 [info] aider-chat: File "/Users/zhengying/Documents/pyenv/env/lib/python3.11/site-packages/httpx/_config.py", line 123, in load_ssl_context_verify
2025-01-08 18:31:03.286 [info] aider-chat: raise IOError(
2025-01-08 18:31:03.286 [info] aider-chat: OSError: Could not find a suitable TLS CA certificate bundle, invalid path: false
2025-01-08 18:31:03.629 [error] aider-chat service exited with code 1 and signal null
2025-01-08 18:31:03.629 [error] aider-chat service closed

@lee88688
Copy link
Owner

lee88688 commented Jan 9, 2025

2025-01-08 18:31:03.286 [info] aider-chat: OSError: Could not find a suitable TLS CA certificate bundle, invalid path: false

I think this may be a python's issue. I use windows and don't have this problem. I google it, this may be a solution.

but some users using mac does not have this issue. your issue is caused by pyenv?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants