Planetary-Computers / autotab-starter

Build browser agents for real world tasks

Home Page:https://autotab.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AttributeError: module 'main' has no attribute 'main'

parisetflorian opened this issue · comments

After following Quickstart guide, here is what I get trying to run autotab record.

autotab record
Traceback (most recent call last):
  File "/usr/local/bin/autotab", line 33, in <module>
    sys.exit(load_entry_point('autotab', 'console_scripts', 'autotab')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/bin/autotab", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/python@3.11/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/metadata/__init__.py", line 204, in load
    return functools.reduce(getattr, attrs, module)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'main' has no attribute 'main'

Hi @parisetflorian are you using poetry to manage your virtualenv? If so, I think that might be causing the issue - mind trying python3 -m venv .venv for the virtualenv with the most recent version on main?

@parisetflorian closing this for now; if you're still having issues feel free to follow up here or in our Discord! https://discord.gg/seGGxSUgzM

@jonasalexander Sorry, I missed the notification. I still have the same issue.
I'm not using a virtual environment. I guess that's why python3 -m venv .venv returns nothing.