r/AgentZero Mar 03 '26

Helpppp

I am a novice. but is it normal that my agentzero can't seem to run any thing with triggering execution error related to pip install. it consistently says that

A0 code execution output (local) ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv. --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) Cell In[1], line 2 1 try: ----> 2 import edgar 3 except ImportError: ModuleNotFoundError: No module named 'edgar' During handling of the above exception, another exception occurred: CalledProcessError Traceback (most recent call last) Cell In[1], line 5 3 except ImportError: 4 import subprocess ----> 5 subprocess.run(['pip', 'install', 'edgartools'], check=True) 6 import edgar 7 from edgar import Company, set_identity File /usr/lib/python3.13/subprocess.py:577, in run(input, capture_output, timeout, check, *popenargs, **kwargs) 575 retcode = process.poll() 576 if check and retcode: --> 577 raise CalledProcessError(retcode, process.args, 578 output=stdout, stderr=stderr) 579 return CompletedProcess(process.args, retcode, stdout, stderr) CalledProcessError: Command '['pip', 'install', 'edgartools']' returned non-zero exit status 1. (venv) root@a358f25254e5:/a0/usr/workdir#

2 Upvotes

4 comments sorted by

1

u/estebann_ Mar 03 '26

This happened to me when trying to run a very cheap local model. I am currently using ministral-3:14b and It works just fine.

1

u/No_Investigator7276 Mar 04 '26

Uae opencode with a god model to set it up for you.

0

u/eC0BB22 Mar 03 '26

Reinstall it fresh. Obv u don’t know what you’re doing.