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

import click fails #326

Closed
Whitespace opened this issue Apr 15, 2015 · 2 comments
Closed

import click fails #326

Whitespace opened this issue Apr 15, 2015 · 2 comments

Comments

@Whitespace
Copy link

Maybe I'm crazy, but click 4.0 is failing on import:

python                                                                                                                                                             Python 2.7.9 (default, Feb 10 2015, 03:28:08)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import click
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "click.py", line 8, in <module>
    @click.command()
AttributeError: 'module' object has no attribute 'command'
@davidism
Copy link
Member

Don't name your own module click.

@Whitespace
Copy link
Author

omg I'm an idiot 😞

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants