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

[Bug]: Pipeline imported failed from towhee on OS ubuntu #307

Closed
1 task done
binbinlv opened this issue Dec 3, 2021 · 2 comments
Closed
1 task done

[Bug]: Pipeline imported failed from towhee on OS ubuntu #307

binbinlv opened this issue Dec 3, 2021 · 2 comments
Labels
kind/bug Issues or changes related a bug

Comments

@binbinlv
Copy link
Contributor

binbinlv commented Dec 3, 2021

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Pipeline imported failed from towhee on OS ubuntu

>>> from towhee import pipeline
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/zong/binbin/towhee/towhee-test-env/lib/python3.6/site-packages/towhee/__init__.py", line 22, in <module>
    from towhee.engine.engine import Engine, start_engine
  File "/home/zong/binbin/towhee/towhee-test-env/lib/python3.6/site-packages/towhee/engine/engine.py", line 18, in <module>
    from towhee.engine.pipeline import Pipeline
  File "/home/zong/binbin/towhee/towhee-test-env/lib/python3.6/site-packages/towhee/engine/pipeline.py", line 17, in <module>
    from towhee.engine.graph_context import GraphContext
  File "/home/zong/binbin/towhee/towhee-test-env/lib/python3.6/site-packages/towhee/engine/graph_context.py", line 21, in <module>
    from towhee.engine.operator_context import OperatorContext, OpStatus
  File "/home/zong/binbin/towhee/towhee-test-env/lib/python3.6/site-packages/towhee/engine/operator_context.py", line 19, in <module>
    from towhee.engine.operator_runner.runner_base import RunnerStatus
  File "/home/zong/binbin/towhee/towhee-test-env/lib/python3.6/site-packages/towhee/engine/operator_runner/__init__.py", line 22, in <module>
    from towhee.engine.operator_io.reader import DataFrameReader
  File "/home/zong/binbin/towhee/towhee-test-env/lib/python3.6/site-packages/towhee/engine/operator_io/__init__.py", line 16, in <module>
    import towhee.engine.operator_io.reader as io_reader
AttributeError: module 'towhee.engine' has no attribute 'operator_io'

Expected Behavior

pipeline imported from towhee successfully

Steps To Reproduce

from towhee import pipeline

Environment

- Towhee version(e.g. v0.1.3 or 8b23a93): 0.2.3.dev3
- OS(Ubuntu or CentOS): Ubuntu 18.04
- CPU/Memory: 
- GPU: 
- Others:

Anything else?

No response

@ghost
Copy link

ghost commented Dec 7, 2021

I believe that this is with respect to the main branch, because the pip version works fine. Would you mind sharing how I can install the main branch locally?

@binbinlv
Copy link
Contributor Author

binbinlv commented Dec 7, 2021

@Ashvith

It is an issue when using python3.6, and now it is fixed by pr #311.

And verified, it is fixed now. Thanks.

@binbinlv binbinlv closed this as completed Dec 7, 2021
@binbinlv binbinlv added the kind/bug Issues or changes related a bug label Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Issues or changes related a bug
Projects
None yet
Development

No branches or pull requests

1 participant