You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm testing the template "Similar Company Finder", follow the README.md. I already installed https & socksio packages. But I got the error while running "crewai run":
similar-company-finder % crewai run
Running the Crew
Traceback (most recent call last):
File "/Users/doudou/project/crewAI/workspace/similar-company-finder/.venv/bin/run_crew", line 5, in <module>
from similar_company_finder_template.main import run
File "/Users/doudou/project/crewAI/workspace/similar-company-finder/src/similar_company_finder_template/main.py", line 4, in <module>
from similar_company_finder_template.crew import SimilarCompanyFinderTemplateCrew
File "/Users/doudou/project/crewAI/workspace/similar-company-finder/src/similar_company_finder_template/crew.py", line 3, in <module>
from crewai import Agent, Crew, Process, Task
File "/Users/doudou/project/crewAI/workspace/similar-company-finder/.venv/lib/python3.12/site-packages/crewai/__init__.py", line 2, in <module>
from crewai.agent import Agent
File "/Users/doudou/project/crewAI/workspace/similar-company-finder/.venv/lib/python3.12/site-packages/crewai/agent.py", line 12, in <module>
from crewai.llm import LLM
File "/Users/doudou/project/crewAI/workspace/similar-company-finder/.venv/lib/python3.12/site-packages/crewai/llm.py", line 5, in <module>
import litellm
File "/Users/doudou/project/crewAI/workspace/similar-company-finder/.venv/lib/python3.12/site-packages/litellm/__init__.py", line 280, in <module>
module_level_aclient = AsyncHTTPHandler(timeout=request_timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/doudou/project/crewAI/workspace/similar-company-finder/.venv/lib/python3.12/site-packages/litellm/llms/custom_httpx/http_handler.py", line 38, in __init__
self.client = self.create_client(
^^^^^^^^^^^^^^^^^^^
File "/Users/doudou/project/crewAI/workspace/similar-company-finder/.venv/lib/python3.12/site-packages/litellm/llms/custom_httpx/http_handler.py", line 57, in create_client
return httpx.AsyncClient(
^^^^^^^^^^^^^^^^^^
File "/Users/doudou/project/crewAI/workspace/similar-company-finder/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1456, in __init__
else self._init_proxy_transport(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/doudou/project/crewAI/workspace/similar-company-finder/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1509, in _init_proxy_transport
return AsyncHTTPTransport(
^^^^^^^^^^^^^^^^^^^
File "/Users/doudou/project/crewAI/workspace/similar-company-finder/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 319, in __init__
raise ImportError(
ImportError: Using SOCKS proxy, but the 'socksio' package is not installed. Make sure to install httpx using `pip install httpx[socks]`.
An error occurred while running the crew: Command '['uv', 'run', 'run_crew']' returned non-zero exit status 1.
The text was updated successfully, but these errors were encountered:
/Users/XXX/miniconda3/envs/crewai/lib/python3.12/site-packages
This package path isn't included in crewai's virtual env's package path. Is this a bug of crewai command?
I'm testing the template "Similar Company Finder", follow the README.md. I already installed https & socksio packages. But I got the error while running "crewai run":
The text was updated successfully, but these errors were encountered: