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

missing urwid dependency? #128

Closed
dpinol opened this issue Apr 24, 2017 · 5 comments
Closed

missing urwid dependency? #128

dpinol opened this issue Apr 24, 2017 · 5 comments

Comments

@dpinol
Copy link

dpinol commented Apr 24, 2017

In OSX, with python 3.6 and pip 9.0.1, it failed to automatically install the urwid dependency.

sudo pip3 install sen
Password:
executing pip with sudo, you may want sudo's -H flag.
Collecting sen
  Downloading sen-0.5.1-py3-none-any.whl (53kB)
    100% |████████████████████████████████| 61kB 658kB/s
Collecting urwidtrees (from sen)
  Downloading urwidtrees-1.0.1.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/tmp/pip-build-14um8ooa/urwidtrees/setup.py", line 4, in <module>
        import urwidtrees.version as v
      File "/private/tmp/pip-build-14um8ooa/urwidtrees/urwidtrees/__init__.py", line 6, in <module>
        from .decoration import DecoratedTree, CollapsibleTree
      File "/private/tmp/pip-build-14um8ooa/urwidtrees/urwidtrees/decoration.py", line 4, in <module>
        import urwid
    ModuleNotFoundError: No module named 'urwid'

After manually installing urwid, it worked fine

TomasTomecek added a commit that referenced this issue Apr 25, 2017
Fixes #128

Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
@TomasTomecek
Copy link
Owner

This issue comes from urwidtrees, what you are seeing is combination of these issues: pazz/urwidtrees#28 pazz/urwidtrees#24 pazz/urwidtrees#35

Unfortunately I wasn't able to resolve this (so $ pip3 install sen works) -- the solution is to install urwid explicitly before installing sen. I proposed patch to document this, can you take a look? #128

@dpinol
Copy link
Author

dpinol commented Apr 25, 2017

hi, thanks! I guess you meant #129 instead of #128 in your last comment

@TomasTomecek
Copy link
Owner

Yes, #129, my bad.

@dpinol dpinol closed this as completed Apr 26, 2017
@dpinol
Copy link
Author

dpinol commented Apr 26, 2017

dealt by #129. Thank you @TomasTomecek

TomasTomecek added a commit that referenced this issue Apr 27, 2017
* document installation problem, use upstream urwidtrees

Fixes #128

Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>

* circle: install deps using only req.txt

Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
@darkn3rd
Copy link

Thanks. pip3 install urwid is a workaround.

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

3 participants