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

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

Closed
parisetflorian opened this issue Oct 24, 2023 · 3 comments
Closed

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

parisetflorian opened this issue Oct 24, 2023 · 3 comments

Comments

@parisetflorian
Copy link

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'
@jonasalexander
Copy link
Contributor

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?

@jonasalexander
Copy link
Contributor

@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

@parisetflorian
Copy link
Author

@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.

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

2 participants