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

ImportError: module 'piptui' has no attribute 'app' #2

Closed
singularitti opened this issue Jul 21, 2019 · 3 comments
Closed

ImportError: module 'piptui' has no attribute 'app' #2

singularitti opened this issue Jul 21, 2019 · 3 comments

Comments

@singularitti
Copy link
Contributor

singularitti commented Jul 21, 2019

Hi @nitanmarcel, I have successfully installed PipTUI. But when I try to run piptui (BTW, there is no pip_tui command, did you change the command's name from pip_tui to piptui?), I got such errors:

Traceback (most recent call last):
  File "/Users/qz/.local/pipx/venvs/PipTUI/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2419, in resolve
    return functools.reduce(getattr, self.attrs, module)
AttributeError: module 'piptui' has no attribute 'app'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/piptui", line 11, in <module>
    load_entry_point('PipTUI==0.1.4', 'console_scripts', 'piptui')()
  File "/Users/qz/.local/pipx/venvs/PipTUI/lib/python3.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/Users/qz/.local/pipx/venvs/PipTUI/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2793, in load_entry_point
    return ep.load()
  File "/Users/qz/.local/pipx/venvs/PipTUI/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2411, in load
    return self.resolve()
  File "/Users/qz/.local/pipx/venvs/PipTUI/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2421, in resolve
    raise ImportError(str(exc))
ImportError: module 'piptui' has no attribute 'app'

I installed piptui to /usr/local/bin/piptui, FYI.

@nitanmarcel
Copy link
Owner

Should work. Are you installing the version 0.1.4?

@singularitti
Copy link
Contributor Author

Yes, package PipTUI 0.1.4, Python 3.7.4.

@singularitti
Copy link
Contributor Author

Ah, I create a virtualenv myself, and it works. A bit strange. Maybe it is still pipx's problem.

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