agent-zero icon indicating copy to clipboard operation
agent-zero copied to clipboard

FAiling to run

Open desy0305 opened this issue 1 year ago • 2 comments

these two are failing and i tried few approached without result: Traceback (most recent call last): File "c:\Users\user\Desktop\SCM\agent-zero\main.py", line 1, in import threading, time, models, os File "c:\Users\user\Desktop\SCM\agent-zero\models.py", line 7, in from langchain_huggingface import HuggingFaceEmbeddings ModuleNotFoundError: No module named 'langchain_huggingface'

"Installing collected packages: transformers, sentence-transformers, langchain-huggingface ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'C:\Users\lmateev\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\transformers\models\deprecated\trajectory_transformer\convert_trajectory_transformer_original_pytorch_checkpoint_to_pytorch.py' HINT: This error might have occurred since this system does not have Windows Long Path support enabled. You can find information on how to enable this at https://pip.pypa.io/warnings/enable-long-paths"

desy0305 avatar Jul 31 '24 05:07 desy0305

(my 2 cents; it is naive so I apologize if you already know it) "docker ps" will tell you the container id. "doctor exec -it container-id sh" will create a shell so you can manually setup the environment. Sometimes fixing the docker debian environment requires your direct involvement.
Just google for the debian commands to diagnose and then fix the problems.

swframe avatar Aug 03 '24 18:08 swframe

Hello. Is this bug report still relevant, after one year and new versions of Agent Zero? In case it could be closed.

Harvester62 avatar May 13 '25 12:05 Harvester62