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

update documentation that it requires python 3. #13

Closed
robert-figura opened this issue Sep 5, 2019 · 2 comments
Closed

update documentation that it requires python 3. #13

robert-figura opened this issue Sep 5, 2019 · 2 comments

Comments

@robert-figura
Copy link
Contributor

Installing flamingo with pip2 or pip fails on import with this backtrace:

$ pip install flamingo
Collecting flamingo
  Using cached https://files.pythonhosted.org/packages/86/58/d53a3dc11916acd1b9ec17966b23bc4868da8a22aa6012600730c48a837d/flamingo-0.10.4.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/run/user/rfigura/pip-install-3RYxRR/flamingo/setup.py", line 7, in <module>
        import flamingo
      File "flamingo/__init__.py", line 3, in <module>
        from flamingo.core.plugins.hooks import hook  # NOQA
      File "flamingo/core/plugins/__init__.py", line 4, in <module>
        from .media import Media  # NOQA
      File "flamingo/core/plugins/media.py", line 3, in <module>
        from flamingo.core.data_model import ContentSet, Content
      File "flamingo/core/data_model.py", line 4, in <module>
        from textwrap import shorten
    ImportError: cannot import name shorten
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /

Under debian 10.0 you can install pip3 like this:

root# apt install python3-pip
@robert-figura
Copy link
Contributor Author

I'm sorry, I seem to have overlooked that it already says "python-3 based". Nevermind %-)

@fscherf
Copy link
Contributor

fscherf commented Sep 5, 2019

Hi @robert-figura,

No problem, thanks for testing an reporting anyway :)

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